A C statement that makes a decision is___________
Q: Graphical User Intergace is ____________.
A: A GUI (graphical user interface) is a system of interactive visual components for computer software.…
Q: A) (Assume the user enters George Washington .)string userlnput;cout << "What is your…
A: A) Here the input is George Washington But the cin command will store all character of a single…
Q: Design a pseduocode function named timesTen that accepts an integer arguement. When the function is…
A: Function timesTen Pass In: any integer "num" as parameter Compute : result = num *…
Q: Ensure the file named Furniture.java is open. The file includes variable declarations and output…
A: Ensure the file named Furniture.java is open. The file includes variable declarations and output…
Q: C++ programming question
A:
Q: Using Java programming language Shopping Software: The software should allow a shopper to buy at…
A: import java.util.*; public class books { String[] book=new String[6]; float[] price=new float[6]; {…
Q: Using C# and Visual Studio, design and implement a s fulls the following requirements. The user…
A: Solution:: using System; using System.Collections.Generic; using System.Linq; using System.Text;…
Q: You have to calculate the total price. Write a function which will take the name of the burger and…
A: Program Explanation: Import the Scanner class Define a public class for ordering a burger Declare…
Q: Create a C# application that will allow the user to enter any number. The input will only stop if…
A: Answer:
Q: USING C# 1. Create a program that will ask the user to enter the following details. LastName…
A: Your C# Code is given below with an output.
Q: Select the correct answer. What is the postcondition of an expression or variable? O A. the…
A: Postcondition specifies that what will be true after execution of the block. For Example; void…
Q: Design a program that calculate your age and displays the following information • Your name • Your…
A: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.…
Q: eclare variables ame = "" ilyCookies = 0 eklyCookies = 0 ays = 0 al = 0 alDifference = 0 Fice = sk…
A: Required: I need 2 bugs in this
Q: What is the postcondition of an expression or variable? A. the condition of the expression before…
A: Post-condition: Post-condition is the condition that must be met immediately after the execution of…
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: C Language Create 3 functions for your program. Function 1: Display Menu Create a function to…
A: #include<stdio.h>#include<string.h>//function to display menuvoid Display(){…
Q: Write a program in C language using switch case statement to evaluate the following formulae and…
A: Given that write a C language using switch case statement to evaluate the following and print the…
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: A C++ program to display the number of calories consumed for the cookies that he/she ate is given…
Q: In C++ Create a program that does the following: A menu with Registration of Student with his…
A: Class is a user defined data that contains the data members and member functions. The data members…
Q: Computer Science Using visual studio 2019 with a C# program create a WCF service to compute the body…
A: PROGRAM EXPLANATION: Create the main class. Define the main method. Ask the user to enter the…
Q: A certain store has the following scheme: Commodity Code: A - commodities are discounted by 10% B -…
A: Actually, program is a executable software that runs on a computer.
Q: 1-22 pdf Open with Google Docs Problem #1: 35 pts] Write a program to calculate the estimated engine…
A: Given : To write a program according to given condition in the question. The program is written in…
Q: Handball
A: #include<iostream> #include<graphics.h> #include<conio.h>…
Q: Joe’s Pizza Palace needs a program to calculate the number of slices a pizza of any size can be…
A: C++ program: #include <iostream>#include <iomanip>#include <cmath> using namespace…
Q: Laboratory Practice Task 8 Using Arithmetic Operators Creates a C++ application that converts…
A: Please find the answer below :
Q: LTE .. نقطة واحدة E:11 docs.google.com The variable x in the following program is a global variable…
A: The variable x in the following program is not a global variable. The question is false. Because…
Q: QUESTION 2 Select which answer is correct: Defining the variable type is important because. O it…
A: Variables are used to store information to be referenced and manipulated in a computer program. A…
Q: *using C# and visual studio design a program to satisfy the below problem** Create an application…
A: Solution:: /* Please read all comments*/ /* Developer note Control used in windows Application…
Q: reate a C++ program and its flowchart about Supermarket Inventory System specifically about…
A: Program plan Define a class Product that represents the data members and methods to manage the…
Q: QI) Write a Visual Basic program to enter the values of (W&X). Find the value of function f(X) from…
A: Algorithm: Start Read x,w values Calculate temp = x - (w * w) if temp>1 calculate f=((x * x * x)…
Q: C Program for a menu based program that uses a switch-case statement to include the following…
A: Program: #include <stdio.h> #include <ctype.h> #include <stdlib.h> //Menu…
Q: Consider the following code segment. It should display a message only if the cost is between 50 and…
A: The problem statement involves the inclusive range between 50 and 75 dollars. So that 50 and 75 need…
Q: Y = a + 2b + 3c value for each of 50 (a, b, c) (integer a, b, c) value groups calculating. Y values…
A: Spark is a lightning-fast cluster computing designed for fast computation. It was built on top of…
Q: Exercise 1: Oreo cookies calculate how much one Oreo cookie is concerning : calories , sodium ,…
A: Code: # Create your views here.@login_required(login_url='login')@admin_onlydef home(request):…
Q: Q2 A local club sells boxes of three types of cookies: shortbread, pecan sandies, and chocolate…
A: #include <iostream> #include<iomanip> using namespace std; int main() { int…
Q: Create a C++ Program that will identify the Discount Rate of a shopper based on issued loyalty card.…
A: The question asks to program a c++ code such that it will show the discounted price based on the…
Q: TASK 3 (25 points) [Testing: Variables and expression, strings, conditional-statements, loops]…
A:
Q: OUTPUT WRITING…
A: Output of First Question : Open Source Softwares available are:PHPPYTHONJAVAR Every value in the…
Q: Question 18 Guessing Game Code a solution for the following problem. Post your program in the…
A: Given: Given a coding question ,we need to write the C++ code for it .
Q: Project 9-1: Interest Calculator Create a program that calculates the interest on a loan. Console…
A: According to the information given:- We have to follow the instruction in order to get desired…
Q: Please help. I asked helped here before but the answer is wrong, and my deadline was yesterday. I…
A: GIVEN:
Q: Exercise 3: Write a C++ program that asks the user to enter the color code and prints the shade…
A: According to the Question below the solution: Program Output:
Q: Write a program in C language using switch case statement to evaluate the following formulae and…
A: step1: design a menu for all available option step2: initializes values of a, b, c; step3: take…
Q: Which type of identifier is new? A. preprocessor directive B. programmer defined identifier C.…
A: An identifier can be denoted as the names of various entities in a program that are defined by the…
Q: Phython assignment Exercise 1: Oreo cookies Check out the nutritional values of an Oreo cookie…
A: The complete Python code is given below with screenshots. Variables are used in the code
Q: C++ Visual 2019 Write a program to select a restaurant based on the following requirements.…
A: Coded using C++.
Q: A company has 100 employees with employee IDs from E1 to E100. Write a C++ program to help the…
A: A company has 100 employees with employee IDs from E1 to E100. Write a C++ program to help the…
Q: Description: Cashier 1.0 is a C++ program that displays on the screen "Sweet and minty Lollipops!…
A: In this question we have to write a C++ program in which user have to buy some lollipops from the…
Q: BOOKS Management System There is Shop named Pakistan Book shop. We need to make a system for this…
A: // Book Rental System #include<stdio.h> #include<conio.h> struct Book{ char…
A C statement that makes a decision is___________
Step by step
Solved in 2 steps
- C programming language *provide comments Inside the main function write code that will ask the user for the radius of a circle and will display the circle’s diameter, circumference, and area. Use a constant value 3.14159 for pi. The formula for calculating the area is? = ??2where ? is the radius of the circle. The formulas for calculating the circumference are? = ?? ?? ? = 2??where ? is the diameter of the circle. When displaying all values, only display up to hundredths (2 decimal places).Phython assignment Exercise 1: Oreo cookies Check out the nutritional values of an Oreo cookie (Koppelingen naar een externe site.). Write code that does the following: calculate how much one Oreo cookie is concerning: calories, sodium, carbohydrate, fat create a user input that asks how much cookies you ate calculate how much calories, etc. you consumed warn the user that if he/she surpasses 2000kcal he/she should stop eating these darn delicious cookies use variables!Exercise 1: Oreo cookies Check out the nutritional values of an Oreo cookie (Koppelingen naar een externe site.) Write code that does the following: calculate how much one Oreo cookie is concerning: calories, sodium, carbohydrate, fat create a user input that asks how much cookies you ate calculate how much calories, etc. you consumed warn the user that if he/she surpasses 2000kcal he/she should stop eating these darn delicious cookies use variables!
- Assignment 2 is worth 20% of the final module grade and is due at the end of Week 2 by 11.59 p.m. (23.59) VLE (UTC) OVERVIEW Create a simple currency converter that converts the user’s input from US Dollars (USD) to British Pound (GDP) DELIVERABLES Required elements of application A message to prompt user input A fixed variable that stores the most recent exchange rate of the British Pound (£) User input (variable) should be used to calculate the exchange rate and display it back to the user.Following code in C using random Name Reg no and highschool name Use switch case in C language to do the following: Create a restaurant with the name “Your Name - Reg_No – Name of your highschool” The restaurant should come with the options of delivery and take away and the choice should be displayed as “Delivery – Registration No” and “Takeaway – Name” Each option should have the same menu and an extra 15% charge be included if a customer wants home delivery Both menus should have two items that are customizable, such as a burger can have chillies removed, cheese added and extra mayonnaise. The user should have the option of choosing multiple items with multiple quantity. Print a bill in the end.Praticing Write a flowgorithm program that will calculate a person’s mobile phone bill based on plan chosen and the data used. The program should perform the following: Ask for customer’s mobile plan Ask for the number of gigabytes of data used Display an error message if the plan choice is invalid or the gigabytes used is less than zero (0) Mobile data plans are: Plan A 19.99/month, with 4 gigabytes data, additional data $10/gigabyte Plan B 29.99/month, with 8 gigabytes data, additional data $5/gigabyte Plan C 39.99/month, unlimited data Remember the following: use clear prompts for your input label each output number or name (Comment: I need help practicing with Flowgorithm, I don't understand the concept of flowgorithm, and I need the practice to help me understand computer science better. Please help me, thank you).
- Q1: Output a welcome message to the console. The message should be contained inside of a string variable that is accessible by the entire program via it's scope. Q2: Create a conditional statement that outputs the grade of a student based on their mark. You may use an IF or a SWITCH. I'll get you started. var grade; var mark = 94; // ... console.log("The student received an " + grade + " in the course!"); Q3: This the following 4 lines of code has a bug and doesn't add correctly. Find the bug and fix it so the output is correct. Add comments to show that you've corrected the bug appropriately. var y = "4"; var x = 20; var total = x + y; console.log(x + " + " + y + " = " + total);Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee.18. Tom and Jerry opened a new lawn service. They provide three types of services: mowing, fertilizing, and planting trees. The cost of mowing is $35.00 per 5,000 square yards, fertilizing is $30.00 per application, and planting a tree is $50.00. Write an algorithm that prompts the user to enter the area of the lawn, the number of fertilizing applications, and the number of trees to be planted. The algorithm then determines the billing amount. (Assume that the user orders all three services.) (9)
- (Data processing) Write a C++ program that permits users to enter the following information about your small company’s 10 employees and then writes the information to a file: ID No. Sex (M/F) Hourly Wage Years with the CompanyI needed help writing the code using visual basic not jave thank you. An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the total charges.Complete this program in C++ Objective: Create a Handball 1. Make 2 Paddles and a ball load into the screen 2. the 2 paddles must move up and down with seperate keyboard commands (diffrent command for each of the 2 players) 3. the ball must bounce around the screen 4. the ball must bounce off the paddles at different angles 5. there must be a score text located on the screen that keeps track of the number of misses each player has 6. Display the winner (player with least number of misses) onto the screen after 21 tries