Determine whether you will have enough fuel to fly a Cessna 182 Skylane from Phoenix to El Paso without refueling along the way.
Ask the user for their first name
Say “Hello” followed by the user’s first name
Ask the user how old they are
Tell the user how old they will be in 10 years and in 20 years
Tell the user how old they were 5 years ago
Before you begin coding, use a word processing document to write pseudocode to plan out your program. Then, use your pseudocode to write your program.
Answer:
Explanation:
OUTPUT 'What is your name?'
INPUT user inputs their name
STORE the user's input in the name variable
OUTPUT 'Hello' + name
OUTPUT 'How old are you?'
INPUT user inputs their age
STORE the user's input in the age variable
IF age >= 70 THEN
OUTPUT 'You are aged to perfection!'
ELSE
OUTPUT 'You are a spring chicken!'
What is a triangle and the examples
Answer:
A triangle is a closed, 2-dimensional shape with 3 sides, 3 angles, and 3 vertices. A triangle is also a polygon. The above figure is a triangle denoted as △ABC. Some real-life examples of triangles include sandwiches, traffic signs, cloth hangers, and a rack in billiards.