0
Ä°f statement
i want yo write a code like. the program asks you to write a number and if the number is 10 it outputs correct
2 Answers
+ 2
hope this helps
https://code.sololearn.com/cA6rkz29GOBf/?ref=app
+ 1
So what is your question?
if statement syntax:
if (condition) {
// code to execute
}