🔒 Closed Mga expert patulong?

Status
Not open for further replies.

network phantom

Journeyman
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.
 
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.”
}
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 699
    Views
  • 4
    Participants
Last reply from:
network phantom

Trending Topics

Online now

Members online
1,206
Guests online
12,461
Total visitors
13,667

Forum statistics

Threads
2,335,510
Posts
29,284,720
Members
1,134,106
Latest member
ITCHVBOIIII
Back
Top