FOLLOW TWITTER

WELCOME TO MY BLOG,HOPE YOU ENJOY THE PRESENTATION OF ARTICLES AND INFORMATION AVAILABLE,IF YOU WOULD LIKE TO COPY THIS BLOG ARTICLE SPECIFY THE SOURCE,FOLLOW TWITTER @diazkp & @ChitUM_UG,THANK YOU.

Minggu, 06 Maret 2011

Qbasic Rumus Luas Segitiga

Read A,T
L= (A * T) /2
Print A,T,L
Data 4,6
End
Ket: Read A,T = Membaca A dan T
L=(A * T) /2 = itu rumus luas segitiga
Print A,T,L = akan mencetak A,T dan L
Tanda “,” = sepasi 11-14
Data 4,6 = membaca A=4 B=6
End = selesai

Tidak ada komentar:

Poskan Komentar