Anasayfa » c c++ if statements if else statements

c c++ if statements if else statements etiketindeki yazılar

C / C++ »

[29 Eki 2010 | 5 Yorum | 2.283 views ]
C / C++ Courses ? 7 (Review and Continue with If Statements)

Let?s start with an example to remember previous course.

Write a program that enters a final grade of student and prints if the student passed or failed. (40 and above passed)

#include

int main(){

int grade;

printf(?Enter the grade: ?);

scanf(?%d?,&grade);

(continues)…

Devamını Oku »