Specification Status Computer Fundamentals English Programming 1 Algebra Input Code C E P| A
Q: Develop a program that displays the following pieces of information, each on a separate line: Your…
A: cout statement is used to output the statement and \n is used to print new line. program…
Q: A certain store has the following scheme: Commodity Code: J- commodities are discounted by 8% K-…
A:
Q: A car's miles-per-gallon (MPG) can be calculated with the following formula: MPG = Miles driven /…
A: since there is no programming language is mentioned i have used java for soution Please check the…
Q: Code a Mortgage calculator using c++ and Microsoft visual Studio create a new project called…
A: Please find the answer below :
Q: These are C# programming questions, I need some help please. Q 6: Declare a variable to store…
A: Answer is below for given problem 6) long Social_Security_Number;…
Q: Instructions: Write the following programs in C# using concepts learnt in this chapter and submit…
A: C is a powerful general-purpose programming language which can be used to develop software like…
Q: The following code in C# is used at the beginning of certain statements. Identify the type of…
A: Hello studentGreetingsIn programming, different types of statements are used to control the flow of…
Q: Days of the Week Write a program that asks the user fora number in the range of 1 through 7. The…
A: python code
Q: refers to the rules that govern the design of control flow statements like "if-then-else,"…
A: Statements in a programme will often flow in the order that they were written. However if we want to…
Q: Important instructions: All programs must include introductory comments as well as comments…
A: Program Explanation: 1) Implement the header file. 2) Declare the integers type attributes. 3) Take…
Q: Problem statement: Design the solution to the following problem and implement it in a Python…
A: As the algorithm steps for the program are already given in the question and your code already…
Q: THIS SHOULD BE WRITTEN IN VISUAL C# FORMS: Create an application that lets the user know how many…
A: Prompt the user to enter the number of customers (n).Read the contents of the file…
Q: Homework #01 - Chapter 02 - Programming Exercise #10, page 85. Design the logic for a program for…
A: Algorithm: START Create a variable to store the refrigerator model name input from the user.…
Q: Python Programming Only Please: The colors red, blue, and yellow are known as the primary colors…
A: 1. Prompt User for Input: - Display a message asking the user to enter the names of two primary…
Q: mportant instructions: All programs must include introductory comments as well as comments all…
A: Required: All Programs must also include pseudo code. There are two parts to this question; the…
Q: C programming language *provide comments Inside the main function write code that will ask the…
A: Let us see the solution Here we are writing a simple C program that calculates the area and…
Q: A variable in a program is a named placeholder that can contain any integer value. The statement z +…
A: Below is the complete solution with explanation of the given question. The value of each iteration…
Q: 8. Design the logic for a program and create either pseudocode or a flowchart for a program that…
A: The above question is solved in step 2:-
Q: Program for C# Instead of assigning a value to the inches variable, accept the value from the…
A: using System; class HelloWorld { static void Main() { //asking user to enter data in inches…
Q: A code in c++ or python A program that asks you to enter the name of a movie or series, and then…
A: #using python#asking user to enter movie or series namename = input('Enter name of a…
Q: There are two main systems for measuring distance, weight and temperature, the Imperial System of…
A: Required C++ code is given below along with screenshot of sample output
Q: GPA Calculator Students are concerned about their GPA. They need to calculate it accurately every…
A: The c# program is given below:
Q: 1. What refers to the structure of a program and the rules about that structure?
A: A structure is a collection of variables of same or different datatypes.
Q: will be creating a program that will allow the user to enter information about a home rental.
A: solution in below step
Q: • Array elements can hold data entered by the user Const intMAX_SUBSCRIPT As Integer = 9 Dim…
A:
Q: True or False 6. In languages that require variable declarations, a variable’s declaration must…
A: Variable Declaration:- The main terms required to declare a variable is its name, data type, and…
Q: code for this in C: In college, a student may get a grade of 1.0 (as the highest) to 5.0(lowest).…
A: PROGRAM CODE: The challenge is how to use the supplied formula to highlight the final grade, and…
Q: Develop a C# program using Visual Studio that has the following interface: The program must allow…
A: Please give positive ratings for my efforts. Thanks. ANSWER using System; public class funcexer3…
Q: Develop a C# program using Visual Studio that has the following interface:(in the pictures below)…
A: develop C# application to calculate sum of two numbers the result and error should be displayed…
Q: fixing the errors to run through debug: Program Exercise: int main (void) { // Local…
A: Variable declaration: In C programming, a variable is used to store the value in the memory…
Q: Write an application that inputs three integers from the user and displays the sum, average,…
A: Sir, you didn't mention any programming language, hence according to bartleby policy, I have…
Q: write a nested if statement that will determine the student's final letter grade. Display the…
A: Python code: import randomdef grade(x): # function to return letter grade if x >= 90:…
Q: Module 04 Content You are working as a software developer for a large insurance company. Your…
A: Program Approach: Step 1: Import the required packages. Step 2: Create a public class Main. Step 3:…
Q: The purpose of adding comments to code is: To allow for machine-language To provide documentation To…
A: In this question we need to choose the correct option which states the purpose of using comments in…
Q: For this lab, you will be doing the following in C#: 1) Create a Home form with buttons that when…
A: For registering using Systems.Collections.Generic; using System.Text; using System.Threading.Tasks;…
Q: Problem2 Modify the program you wrote for Problem 1 (Word Counter) so it also displays the average…
A: Given: Average Number of LettersModify the program you wrote for Problem 1 (Word Counter) so it also…
Q: pllowing inputs. A code representing the delivery area. A local delivery is code 1, and a long…
A: Below I implemented above problem in Python as per instructions/requirements, Comments are included,…
Q: Hands-On Activity 4-4 BuzzButtons is a novelty item company manufacturing personalized lapel buttons…
A: The answer is given below:-
Q: Create a c++ program that will compute for the area of a Triangle, Square, Rectangle, Ellipse, and…
A: The answer is..
Q: 1.) Create a C# code with comments that will ask the user to type the student’s name and his grades…
A: Step-1: StartStep-2: Declare a variable name and take input from userStep-3: Declare 6 variable…
Q: Problem definition: A college wants to know how well its students did on an exam. The following…
A: Line "1" is not a syntax error, but the number of students need not be decimal value. So you can…
Use If, If…Else, and Nested If Statements
Using Visual C#, create a
Step by step
Solved in 2 steps
- Objective: Must create an interactive program (in C language) in which the computer generates a random number between 1 and 15. The user is presented with a guessing game and must enter their guess as to which number the computer is "thinking of" (the randomly generated number between 1 and 15). The user is limited to five guesses. If the user guesses the correct number within the five guess limit, they win. If the user does not guess correctly within the five guess limit, they lose the game. Following each user input, the output must say "your guess of _ was too low. try again" or "your guess of _ was too high. try again" or "you guessed it!" Instructions: The program must make use of passing by value and reference, if-else, defined constants, and use of the random number generator/seeding. The seed function srand() should only be called once in main. The point is to demonstrate use of multiple functions (those aforementioned) even though this could be accomplished with a much…Using C++ programming language: Use the if construct to check a range. Assume the variables height and width are already defined as integers. Write the if statement that evaluates to true if and only if the height is greater than 50 and the width is less than 10.Create a C++ programme that displays the following menu: 1. Determine the Area of a Circle 2. Calculate the tax based on the user's input for the price and tax rate of an item. 3. Convert one pound to one kilogramme 4. Quit Enter your choice (1-4): If the user enters 1, the programme should ask for their name, followed by the radius of their choice. the circular shape The programme should then display (print) the user's name and the area of the circle, which should be limited to two decimal points. Validation of input: Your programme should only accept positive numbers. If the user enters 2, the programme should prompt them for their name, price, and tax rate. The programme should then calculate the tax based on the price and print the user's name and the tax amount, which should be limited to two decimal points. Validation of input: Your programme should only accept positive numbers. If the user enters 3, the programme should prompt the user for his or her name and the number of…
- Programming Exercise 3-10). A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Design a modular program that asks the user to enter the total sales for the month. From this figure, the application should calculate and display the following: - The amount of county sales tax - The amount of states sales tax - The total sales tax (county plus state) Some of the code has already been provided below. Complete the missing code below. // Global constants for tax calculations Constant Real COUNTY_TAX_RATE = .02 Constant Real STATE_TAX_RATE = .04 // main module Module main() // Local variables Declare Real monthSales, countyTax, stateTax // Get month sales Display “Enter monthly sales: ” Input monthSales // write the statement to Calculate county tax // write the statement to Calculate state…The volume of earth is approximately 1.086 * 10^12 cubic km, and the volume of Sun is approximately 1.4 * 10^18 cubic km. Write a program in Visual C# that computes the following: The radius of the earth and Sun The diameter of the Sun and the earth in cubic km The volume of earth and Sun in cubic miles How many earths are equal to the Sun NOTE:WRITE CODE IN VISUAL PROGRAMMINGQuestion 18 Guessing Game Code a solution for the following problem. Post your program in the textbox below. (NOTE: Indenting matters.) • Hard-code an integer variable valid value from 1 to 10. Ask the user to guess your whole number and input that number. - Then compare the user's input to your literal number ani tell the user how they compare, is it greater than, less than or equal to each other. Extra: Send an error message if the value entered is not between 1 and 10. Edit View Insert Format Tools Table Ev Ev To E v V O Paragraph v BIU A ev T? v 12pt v
- Python Programming Only Please: Write a program that asks the user to enter a person’s age. The program should displaya message indicating whether the person is an infant, a child, a teenager, or an adult. Following are the guidelines: • If the person is 1 year old or less, he or she is an infant.• If the person is older than 1 year, but younger than 13 years, he or she is a child.• If the person is at least 13 years old, but less than 20 years old, he or she is a teenager.• If the person is at least 20 years old, he or she is an adult.Program Unit Score Calculator Console App Write a Python Console Application program that allows the user to enter the marks for different assessments in a unit, and computes the total mark and grade for the unit. Here is the program logic specification: There are six assessment activities Quiz1, Quiz2, Quiz3, Quiz4, Lab Journal, Major Assignment and Final Exam. The four quizzes are worth 5 marks each, the Lab Journal is worth 10 marks, the Major Assignment is worth 30 marks and the Final Exam is worth 40 marks. The algorithm for computing the total mark for the unit is: Total Mark = Quiz1+Quiz2+Quiz3+Quiz4+Major Assignment+ Lab Journal + Final Exam The following screenshot shows a successful test run:The local Martins awards coupons(just kidding) depending on how much a customer spends on groceries. For example, if you spend $50, you will get a coupon worth eight percent of that amount. The following table shows the percent used to calculate the coupon awarded for different amounts spent. Write a program as a C# application that calculates and prints the value of the coupon a person can receive based on groceries purchased. Here is a sample run: Please enter the cost of your groceries: 14 You win a discount coupon of $ 1.12. (8% of your purchase) Money Spent Coupon Percentage Less than $10 No coupon From $10 to $60 8% More than $60 to $150 10% More than $150 to $210 12% More than $210 14%
- 1. Allows the user to enter the names (First and Last name) of three candidates in an interview and the number of votes received by each candidate for a job. Ihere are total of 10 selectors in which majority vote wOuld determine the selected employee. C++ Language and give screenshot and source codeQ1: Can you read this question carefully rebug and type the answers Debug Problem 1: As an intern for The Weather Channel, you have been instructed to debug a java program that converts Celsius to Fahrenheit. If the formula runs correctly, then 12 degrees in Celsius should give 54 degrees in Fahrenheit . Here is the formula given and it might not be correctly stated in terms of () needed and the order of operations. Google a reputable site if needed.: °F = °C x 9/5 + 32 Remember that there may be more than one problem to fix. It could be that variables have an incorrect data type. It could be that the formula is not coded correctly. Also, some import statements could be missing. Copy and paste the code below in JGrasp and debug the code. Here is the code to debug: // Convert Celsius to Fahrenheit class CelsiusToFahr { public static void main (String args[]) { Scanner keyboard = new Scanner(System.in); int celsius = 0; int fahr = 0; System.out.println("Input the degrees in…