Skip to content

Instantly share code, notes, and snippets.

View lexuanquynh's full-sized avatar
👋
coding ...

Quynh lexuanquynh

👋
coding ...
View GitHub Profile
#include <stdio.h>
#include <conio.h>
void main() {
printf("Hello C Language");
getch();
}
printf("format string",argument_list);
scanf("format string",argument_list);
#include<stdio.h>
#include<conio.h>
void main() {
int number;
//clrscr(); //Ham nay chi dung cho Tubor C hoac Borland C. Dev-C khong dung duoc
printf("Nhap canh cua khoi lap phuong:");
scanf("%d",&number);
#include<stdio.h>
#include<conio.h>
void main(){
int x=0,y=0,result=0;
//clrscr(); //Ham nay chi dung cho BC hoac TC, khong dung cho dev-C
printf("Nhap so thu nhat:");
scanf("%d", &x);
#include <stdio.h>
void main(){
printf("Hello C Language");
}
int a;
float b;
char c;
int a=10,b=20;//khai bao va khoi tao 2 bien nguyen
float f=20.8; //kieu thuc
char c='A'; //kieu ky
int a;
int _ab;
int a30;
int 2;
int a b;
int long;