Create output of a flowchart that depicts activities regarding programming concepts.
Q: Write a program that calculates and prints the amount of wages due to an employee for a week's work.…
A: C++ program to calculate the amount of wages due to an employee for a week’s work. Prompt the user…
Q: I'm stuck on this problem, and here's what I'm stumped on: Meadowdale Dairy Farm sells organic brown…
A: The Answer is
Q: A company selling household appliances gives commissions to its salesman determined by the kind of…
A: Given: A company selling household appliances gives commissions to its salesman determined by the…
Q: 2. Write a program for the Air Force to label an aircraft as military or civilian. The program is to…
A: Here is the approach : Create the two integers to take input for the plane speed and the plane…
Q: #include int main(void) { printf("welcome!\n You are able to test your skill of writing C…
A: As per our guidelines we are supposed to answer only one question but here i am doing three question…
Q: Develop a program that calculates the final score and the average score for a student from his/her…
A: Main() Method : Declare variables for name, class test score, test score, assignment score, exam…
Q: asked to write a program that converts from Celsius to Fahrenheit and Fahrenheit to Celsius, what…
A: As there are multiple subparts in this questions, as per our policy, I'll answer the first three in…
Q: 16. Draw a flowchart that will input 20 integers. Output the number of negative values and the sum…
A: Required: Draw a flowchart that will input 20 integers. Output the number of negativevalues and the…
Q: Q1: What will be the output of the following program? Also explain step by step how it works? CLO-2…
A: To find the output of the given CPP program. The given program has, An integer type variable named…
Q: Question: What is the output of the program? #include using namespace std; int main() {…
A: Let us see the answer below.
Q: Given an int variable named callsReceived and another int variable named operatorsOnCall, write the…
A: #include<stdio.h>#include<conio.h> int main(){ int operatorsOnCall; int…
Q: n you please explain how the code works? Or maybe a flowchart out from it?
A: Task : Given the code in C++. The task is to find the flowchart for the given code.
Q: Given a int variable named callsReceived and another int variable named operatorsOnCall, write the…
A: Given a int variable named callsReceived and another int variable named operatorsOnCall, write the…
Q: Can you make this into a flowchart? //user info UserName Student; Student.Input();…
A: Flow chart is a step by step process which contains sequence of steps connected with the flows. The…
Q: You'll be creating a program that will find a donut shop at the user's provided zip-code and…
A: The Complete answer in Java Programming is below:
Q: C++ programming 2. What is the output of the following program (when embedded in a complete…
A: This is C++ replated program and it uses reference variable
Q: Task 2: Here, we will use the printf statement to display text in the terminal (like we did in the…
A: Approach: Include necessary standard input and output header files in the main function ,write a…
Q: Consider the statement int val[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8} ; 4 will be the value of A.…
A: We are given a 2-d array and we are going to find out how an element 4 which is present in the array…
Q: Suppose that x, y, z, and w are int variables and x = 25, y = 3, z = 12, and w = 4. What is the…
A: a. Program: //include the header file #include <iostream> using namespace std; //definition…
Q: Consider the statement console.writeline($"{year,4}{amount, 20:C}"); Which of the following…
A: We need to find that which statement is false for the given line of code in the C# programming…
Q: Write a program that helps a company manage salaries of its employees. Your program should ask for…
A: EXPLANATION - A program is created . On program three variables are declared one for hours worked…
Q: You have a red lottery ticket showing ints a, b, and c, each of which is 0, 2. If they are all the…
A: Given:
Q: You are to design and create a program that takes in a price from the user (as a decimal without a…
A: Program Code: import java.util.Scanner;import java.text.DecimalFormat;public class register {…
Q: In this assignment, you are going to complete a program that compute gross and net payment based on…
A: code in java : ======================================================== import java.util.*;import…
Q: QUESTION 2 def func(x): return x%4 print(func(3)*func(5)) Based on the code above, what would be the…
A: Mod operator % gives remainder after division.
Q: Write a program that asks the user to enter the monthly costs for the following expensesincurred…
A: Code def main(): print('Enter monthly expenses')loan = float(input('Enter loan payment amount:…
Q: You need to write a program that analyses the savings of a child who wants to buy a bike. Your…
A: The code is given below.
Q: Here is the main function in a program int main() int x = 30; //more code goes here someFunction (x)…
A: 30
Q: What will be the output of the following program? Also explain step by step how it works? CLO-2…
A: 1. first the compiler will search for the main function.2. then the variable is been declared.3.…
Q: Create a program flowchart that will solve who wins an election process. (a) Tom Vs. James (b) Tom…
A: 1. If it's not time up, count take input votes2. Check vote c, if c=1, increment vote-count of James…
Q: A sales event at Trader Jane's is reducing some items by 25%. Store that value to a properly named…
A: Introduction of Program The C++ Program provided with the Reducing Offer and the Sales Tax values of…
Q: Write a program that prompts the user to enter twocharacters and displays the major and status…
A: 1. Take input from the user: two characters and store them. 2. Check the first character with the if…
Q: Given a variable named yescount (containing an integer) and another variable named nocount…
A: In the solution to the given problem, we need to use an if-elif-else statement to test the value of…
Q: Can this be done in a form of a flowchart please? 1. Prompt the user and read in the number of a…
A: Flow chart is a step by step in which the sequence of steps are connected using the flows. In Flow…
Q: Can you create a flowgorithm for this below?
A: #include<stdio.h> #include<stdlib.h> #include<stdbool.h>…
Q: Suppose x, y, and z are int variables and w and t are double variables. What value is assigned to t…
A: Answer is 81.50
Q: Write a program that computes the number of extraterrestrial civilizations capable of communicating…
A: Note :- You have not mention the language of the program so. i'm answering your question in C++…
Q: 1) Prompt the user to enter two words and a number, storing each into separate variables. Then,…
A: Python Program to get the output , when user input is entered First Password from the string Second…
Q: Write a unit conversion program that asks the users from which unit they want to convert (gal, oz,…
A: //Code In Java import java.util.*; public class Main{ public static void main(String[] args) {…
Q: What should be the output of below program? int main() { int a=10; cout<<a++; return 0; }
A: Given: What should be the output of below program? int main(){int a=10;cout<<a++;return 0;}
Q: Given the statement z = 5 max (10, 5 3 * 3 + (10.0 % 4) Which of the following is correct? а. The…
A: Given the statement z = 5- max (10, 5, 3 * 3 + (10.0 % 4) Which of the following is correct? a. The…
Q: int y = !(12 x) ? 7 : 9 Based on the code above, what is the value of y if x = 1?
A: This question comes from Programming Language which is a paper of computer science. Let's discuss it…
Q: Create a programming flowchart that requires computing the grade of a student through getting the…
A: Flowchart for the above program is given below
Q: draw a flowchart of the given problem, and then convert that flowchart into Java code. A supermarket…
A: A flowchart is a graphical representation of steps used to solve a particular problem. The required…
Q: iMobile.cpp iMobile is a mobile phone service company that offers three different data plans to its…
A: #include <iostream>#include <string>#include <cmath>using namespace std;int…
Q: print ('the store bonus amount is $'), storeAmount print ('the employee bonus amount is $'),…
A: def main(): monthlySales = getSales() printbonus=print_bonus(storeAmount,empAmount) #This…
Q: Declare an integer variable named ones and initialize it to the value in the ones position from…
A: In a number, the position of each digit is identified by its place value. For example, if number,…
Create output of a flowchart that depicts activities regarding
2.You want badly to take a friend out for a movie and dinner. And guess what? Your friend gladly accepted but you are broke. Now you have 36 hours (3 days) to get $100 and avoid embarrassment. Your sources are a last minute neighbor's mow yard, parents, relatives, or else.
Step by step
Solved in 2 steps with 1 images
- Write a Java program to the details below using the eclipse development environment. First, create a flowchart for this program, then write the Java program. Submit both in Canvas. The program should first create three String variables: studentName, studentMajor, studentBirthPlace and initialize them with your personal information. Then, display each variable on a separate line on the console using the appropriate command. Secondly create two appropriate variables, the first with a value of 5, and the second with a value of 8. Multiply the two variables and display the results below your student information above using the appropriate command. Name your file ItsMe.java. Any variation will not be graded. Submit both your flowchart and the Java file to Canvas using the submission system. DO NOT email your submission. DO NOT use the “Email” function of Canvas to submit your homework.In this task, you are being asked to draw a flowchart of the given problem, and then convert thatflowchart into Java code.A supermarket awards coupon depending on how much a customer spends on groceries. Forexample, if you spend $50, you will get a coupon worth eight percent of that amount. The followingtable shows the percent used to calculate the coupon awarded for different amounts spent. Write aprogram that calculates and prints the value of the coupon a person can receive based on groceriespurchased.Here is a sample run:Please enter the cost of your groceries: 14You win a discount coupon of $ 1.12. (8% of your purchase) Money Spent Coupon PercentageLess than $10 No couponFrom $10 to $60 8%More than $60 to $150 10%More than $150 to $210 12%More than $210 14% NOTE : using javaTHIS IS IN JAVA Given x = 1, y = 2, and z = 3, how is the expression evaluated? In the choices, items in parentheses are evaluated first. <pre><code>(x == 5) || (y == 2) && (z == 5)</code></pre> A. false OR (true AND false) --> false OR false --> false B. false OR (true AND false) --> false OR true --> true C. (false OR true) AND false --> true AND false --> false D. (false OR true) AND false --> true AND false --> true
- Create a Programming Flowchart about this Identifies the five numbers with variables A, B, C, D, E. Then, display the largest of these five numbers. No replication of numbers. Number zero is not allowedCan you create a flowgorithm for this below? A small airline has just purchased a computer for its new automated reservations system. The president has asked you to program the new system. You’ll write a program to assign seats on each flight of the airlines only plane (capacity: 10 seats). Your program should display the following menu alternatives: Please type 1 for “first-class” Please type 2 for “economy” If the person types 1, then your program should assign a seat in the first-class section (seats 1 – 5). If the person types 2, then your program should assign a seat in the economy section (seats 6 – 10). Your program should then print a boarding pass indicating the person’s seat number and whether it’s in the first class or economy section of the plane. Use a one-dimensional array to represent the seating chart of the plane. Initialize all elements of the array to 0 to indicate that the seats are empty. As each seat is assigned, set the corresponding element of the array…Write a program that takes your full name as input and displays the abbreviations ofthe first and middle names except the last name which is displayed as it is. Forexample, if your name is Robert Brett Roser, then the output should beR.B.Roser.
- organize the C++ code and write comments on each of the statemetens about what they do in the program? I've added a picture of the task that the code is written according to it. #include <iostream>using namespace std; int main (){ int teller = 0;int sickDays = 0;int temp =0; cout << "How many tellers worked at Nation's Bank during each of the last three years ?" << endl;cin >> teller; for(int i = 0; i<teller; i++){for(int j= 0; j< 3; j++){cout << "How many days was teller " << i+1 << " out sick during year " << j+1 << " ?" << endl;cin >> temp;sickDays += temp;}cout << endl << endl;} cout << "The " << teller << " tellers were out sick for a total of " << sickDays << " days during the last three years." << endl << endl;return 0;}Using Flowgorithm, I have to create a guessing game. I have to let the user know if they are correct, too high or too low.3. Draw a flowchart and a java program that computes the student's grade using the formula use by the school which is SS/PS * 50+50; SS is student's score, and PS is the perfect score.
- I need to write a Java program to the apply periodic payments and interest on a loan in dollars and cents. Read all the input from the standard input stream and write all the output to the standard output stream. The first line of input is the amount of the loan in dollars and cents. The second line of input is the interest rate per period. It is not a percentage, but a decimal fraction. For purposes of this project the length of the period is immaterial; one can think of it as being being a month. The remaining lines lines consist of payments for each period as well as intersperced balance inqueries. For each payment the program computes the interest on the current balance, adds it to the balance, and then subtracts the payment from the balance. The interest for that period is the rate times the balance rounded (ROUND_HALF_UP) to the nearest penny. Each payment represents the passage of a single period of the loan. Each time the string "balance" (regardless of the case) appears in…This is a Java program Prompt the user to enter any full name (first middle surname). Do not bother with surnames like O'Reilly, Van Helsing, de Ville etc. Then output the following in this order with a message and the data on seperate lines: the length of the full name, including spaces. the length of the middle name. the three initials of the name. the name in all upper case. ***Note: Read in the full name in a single prompt into a single variable (required), then process into first/middle/last in the program.**** Example Output Enter a first name middle name and surname Peggy Sue Palmer (this is entered by the user as an example, it is not output) Length of your name: 16 characters Length of your middle name: 3 characters Your initials are PSP PEGGY SUE PALMERWrite a program that reads the amount of a monthly mortgage payment andthe amount still owed—the outstanding balance—and then displays theamount of the payment that goes to interest and the amount that goes toprincipal (i.e., the amount that goes to reducing the debt). Assume that theannual interest rate is 7.49 percent. Use a named constant for the interest rate.Note that payments are made monthly, so the interest is only one twelfth ofthe annual interest of 7.49 percent.