Answers for "se if c++ example"

C++
1

if c++

if (condition) {
  // block of code to be executed if the condition is true
}
Posted by: Guest on October-04-2021
-2

if c++

#include<iostream>
using namespace std;
int main(){
	int eta; 
	cout<<"Ciao Utente inserisci la tua eta'! "<<"n";
	cin>>eta;
	if(eta >= 18){
		cout<<"Benvenuto al cinema!";
	}
}
Posted by: Guest on April-21-2021

Browse Popular Code Answers by Language