if else
#include "stdio.h" void main () { }
int age;
printf("How old are you?:");
scanf("%d",&age);
if(age >= 50)
{ }
printf("You are old!!!");
Else
printf("You are young(*_*)");
printf("good bye (^/\^)");
return 0;
run
Top Related
CSE 390a Lecture 6 - courses.cs.washington.edu€¦ · 3 if/else if [ test ]; then # basic if commands fi if [ test ]; then # if / else if / else commands1 elif [ test ]; then commands2
Additional control structures. The if-else statement The if-else statement chooses which of two statements to execute The if-else statement has the form:
Yapısal Program Geliştirme – if, if-else
DVG1 - Ablaufsteuerung1 Ablaufsteuerung. DVG1 - Ablaufsteuerung2 if... else... if ( boolausdr ) {... // if-Block } else {... // else-Block } boolausdr.
Materi 4: Strukur Kendali Seleksi (if – else dan switch) Web viewMateri 4: Strukur Kendali Seleksi (if – else dan switch) If – else dengan satu kondisi. Seringkali instruksi
Instrucciones if/else y while
Php if else
1 SELECTION using IF and IF-ELSE Chapter 4. 2 Agenda Background One Way selection (if) Two Way selection (if-else) Compound Statements Nested if-else.