What's new

# HelpMga expert patulong?

#### network phantom

##### Grasshopper
firstyear bsis student po ako. kakasimula lang nang klase namin binigyan kami agad ng assignment. kunti lang alam ko sa c++ tulungan nyu ako.

Problem: Make a list of instructions that will tell the user to input integer age of an athlete. If the value entered is greater than or equal to 10, it will display a text “You are (age) years old and You are qualified to play the game!”. However, if value entered is below 10, it will message “You are (age) years old, you are too young to play the game.”

Required:
Create a detailed instructions (pseudocode) of the above-problem.

#### Funyarinpa

Elite
review conditional statement... tapos doon mo sya ibase...

Comment

#### drexz520

##### Honorary Poster
int age = 10;
if(age <=10){
cout << "You are"+age+" years old and You are qualified to play the game!";
}else{
cout << “You are "+age+"years old, you are too young to play the game.”
}

Comment

#### Funyarinpa

Elite
^ um... di dapat constant yung age variable...
tsaka pseudocode lang daw...

Comment

#### supernoy

Elite
gawa ka flow chart para mas madali, from there madali na makagawa ng code

Comment

#### network phantom

##### Grasshopper
int age = 10;
if(age <=10){
cout << "You are"+age+" years old and You are qualified to play the game!";
}else{
cout << “You are "+age+"years old, you are too young to play the game.”
}

salamat po

Comment

Replies
5
Views
124
Replies
11
Views
152
Replies
12
Views
130

Members online
1,227
Guests online
1,684
Total visitors
2,911