Wk1_Guided Practice_Creating a Flowchart and C program Using If() statements

.docx

School

ECPI University, Virginia Beach *

*We aren’t endorsed by this school

Course

126

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

3

Uploaded by HighnessStarJaguar3

Guided Practice: Creating a Flowchart and C Program Using an if() Statement Program Description: Compute a user’s weekly pay and display a message if the weekly pay is more than $1000. Create the flowchart below using Flowgorithm: New Flowchart Item: You will use the diamond shape to make the decision if the weekly pay is more than $1000 which will be the condition.
Now, let’s create the matching C program. New syntax items: An if statement allows us to make decisions and if the condition is true other commands can be executed. Here is what the output will look like: Run your program. Take a screenshot of the output screen.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help