If and If else
Make a condition and run it.
การเขียนโปรแกรมสร้างเงื่อนไขด้วย if
#include<iostream>
using namespace std;
int main (){
int A = 0;
cout<<"Please enter a number to A: "<< endl;
cin >> A;
if(A<5){
cout<<"Condition met"<<endl;
}
return 0;
}การเขียนโปรแกรมสร้างเงื่อนไขด้วย if else
แหล่งอ้างอิง :
Last updated
Was this helpful?