JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
about 4 hours ago6 views
👨‍💻Programming
-- Tao co so du lieu demo
CREATE DATABASE OSG202_Demo;
GO
USE OSG202_Demo;
GO
CREATE TABLE SinhVien (
    MaSV INT PRIMARY KEY,
    HoTen NVARCHAR(50),
    Lop NVARCHAR(10)
);
INSERT INTO SinhVien VALUES (1, N'Nguyen Van A', N'IC2106');
INSERT INTO SinhVien VALUES (2, N'Tran Thi B', N'IC2106');
SELECT * FROM SinhVien;
#include <stdio.h>
 
int main() {
    printf("Hello OSG202 - Lab 4!\n");
    printf("Cai dat Dev-C++ thanh cong.\n");
    int a = 5, b = 3;
    printf("Tong %d + %d = %d\n", a, b, a + b);
    return 0;
}
public class DemoLab4 {
    public static void main(String[] args) {
        System.out.println("Hello OSG202 - Lab 4!");
        System.out.println("Cai dat JDK + NetBeans thanh cong.");
        int a = 7, b = 8;
        System.out.println("Tich " + a + " x " + b + " = " + (a * b));
    }
}


← Back to timeline