Concept explainers
Assume that a pseudocode
Module display(Integer arg1, Real arg2 , String arg3)
Display "Here are the values:"
Display arg1, " ", arg2, " ", arg3
End Module
Assume that the same program has a main module with the following variable declarations:
Declare Integer age
Declare Real income
Declare String name
Write a statement that calls the display module and passes these variables to it.
Trending nowThis is a popular solution!
Chapter 3 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Additional Engineering Textbook Solutions
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
Starting out with Visual C# (4th Edition)
Java: An Introduction to Problem Solving and Programming (8th Edition)
Starting Out with C++: Early Objects
Concepts of Programming Languages (11th Edition)
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
- #3 – This pseudocode has multiple problems. Fix the calling statement and the definition below so that the routine accepts 3 grades as parameters and returns the average into a variable. Call calcPercentageof(Boolean Number) Module calcPercentageOf (numerator, num2) Set percentage = num / num2 * 100 End Module Write the correct call statement and module definition below:.arrow_forwardTrue or False You can declare multiple variables of different data types with one declaration.arrow_forwardH1. A value returning function executes its statements and then returns a value. true or false Explain with details also explain wrong optionarrow_forward
- 5. Falling Distance determine the distance the object falls in a specific time period: 1 d The variables in the formula are as follows: d is the distance in meters, g is 9.8 - t is the amount of time, in seconds, that the object has been falling. Design a function named fallingDistance that accepts an seconds) as an argument. The function should return the distance, in meters, that the object has fallen during that time interval. Design a program that calls the functiion in a loop that passes the values 1 through 10 as arguments and displays the return value object's falling time (inarrow_forwardTrue or False In C#, you must declare a variable in a program before you can use it to store data.arrow_forwardGPA Calculator Students are concerned about their GPA. They need to calculate it accurately every semester to monitor their progress. Develop a GPA calculator that follows the AOU regulations (AOU-OU Grade Scale) using C# programming language. The application asks the student to enter his numeric grade of each course and the course's credit hours. Accordingly, the application calculates the student's GPA after converting the numeric grade to letter grade. The GPA calculation should produce floating-point results. Display the results rounded to the nearest hundredth. You should store the letter grades of all student's courses in an array. The final grade of the student should be also calculated. Sample I/O Enter the course grade (-1 to end): 93 Enter the course credit hours: 3 Enter the course grade (-1 to end): 74 Enter the course credit hours: 2 Enter the course grade (-1 to end): 60 Enter the course credit hours: 3 Enter the course grade (-1 to end): -1 The grades of your courses…arrow_forward
- //This program calculates the balance of a savings account over a period of time. Module main () Call showMsg () Call user_input () Call monthly_calculations (ref Integer monthsPassed) Call displayOutput () End module //This displays an explanation to the end user about what this program does Module showMsg () Display “This program calculates your savings account balance, number of deposits, ” Display “number of withdrawals, and total interest earned over time.” End module //This module asks the user for the starting balance, annual interest rate, and //the amount of months since the account opened and stores the //users input in their corresponding variables Module user_input () Declare Real annual_interest_rate, balance Declare Integer monthsPassed Display “What is your account's starting balance?” Input balance Display “Please enter the annual interest rate for your account.” Input annual_interest_rate Display “How many months have passed…arrow_forwardPopulation Tracker Learning Objective: Using Python Repetition and Loop Statements Problem Description Write a Python program (Console and GUI) that predicts the approximate size of a population of organisms. The application should use text boxes to allow the user to enter the following information: starting number of organisms, the average daily population increase (as a percentage), and the number of days the organisms will be left to multiply. For example, assume the user enters the following values: Starting number of organisms: 2 Average daily increase: 30% Number of days to multiply: 10 The program should display the following table of dataarrow_forwardStyles Voice Sens 15 Instructions: Write the following programs in C# using concepts learnt in this chapter and submit the .cs file with the screenshot of your output for each question FRENCH TRANSLATOR Look at the following list of French words and their meanings: In French: In English: gauche milieu left middle Create an application that translates the French words to English. The form should have three buttons, one for each French word. When the user clicks a button, the application should display the English translation in a Label control. Instructions: Write the following programs in C# using concents learntarrow_forward
- Mail Delivery Service Create a Python application, Delivery.py for a delivery service. The program should prompt the user for the following inputs. A code representing the delivery area. A local delivery is code 1, and a long distance delivery is code 2. A weight, in pounds of the item to be delivered. The program will then display the fee for the item based on the delivery type and its weight. The fee for the delivery, as follows: 1. Distance Fee (S) Weight Under 5 pounds 5 to 20 pounds Over 20 pounds Under 5 pounds 5 pounds or more 1 12.00 1 16.50 1 22.00 2 35.00 2 47.95 For examples: (These outputs are from different runs. They are not from a loop.) Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 ------ Summary Delivery Type: Local Weight: 4.9 pounds Fee: $12.00 Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 --------- Summary Delivery Type: Long Distance Weight: 4.9 pounds Fee: $35.00 Delivery Service Enter Distance…arrow_forwardi uploaded the screenshot please help me to do pseudocode And do flowchart should be in c++arrow_forwardC++ Language Activity 7 - Create a program that calculates the AREA of a CIRCLE - The user can input the RADIUS of the CIRCLE Calculate and display the AREAarrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT