Answered step by step
Verified Expert Solution
Question
1 Approved Answer
if anyone knows it in qbasic language that would be wonderful :) thanks so much edu/bbcswebdav/pid-25305757-dt-content-rid-174055464 2/courses/WKCTC 4176 CIT 120 B501 75459/Program CIT 120 Computational
if anyone knows it in qbasic language that would be wonderful :) thanks so much
edu/bbcswebdav/pid-25305757-dt-content-rid-174055464 2/courses/WKCTC 4176 CIT 120 B501 75459/Program CIT 120 Computational Thinking Chapter 7 Assignment Write a QBasic program called RAINFALL that computes the average daily rainfall (in inches) for any number of days. The user should first input the number of days, then use that number as the size of the array. The user should then enter the rainfall in inches for each day, one by one. The data should be stored in the one- dimensional array The program should compute and display the average daily rainfall. Use the PRINT USING statement to display 1. 2. 3. only 3 decimal places in this average. Finally, the program should display the number of each day that has BELOW average rainfall. 4. Submit your bas file in Blackboard. Sample test data: ou nany days of rainfall do you wish to enter? 4 Day 1 rainfall in inches? 3.1 Day 2 rainfall in inches? 2.? Day 3 rainfall in inches? 1.1 Day 4 rainfall in inches? 0 The average daily rainfall was 1.725 inches. ouing were BELOU average days: Day 3 Day 4 tv2 sc ho fg 17 18 f6Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started