Write a program to:
The final output should be as follows:
Jesus is the door of the sheep. All who came before Jesus are thieves and robbers, but the sheep did not listen to them. Jesus is the door.you should read this question if you change is given as ai based bankers write a c++ program that asks you to write a modular solution that will only accept an integer value of trains between 5 to 9 55 i was lotion should ensure that input value are in multiples of 5 based upon your input you should calculate it how many coins of each solution could be a statement and display the its uses. coin value 50, 20, 10, 5. the solutions of each coin should aim to give as much as higher value coin as possible
You have to write a menu-driven programme to create a bill for the item(s) selected by the user.
Keep asking the user for selecting available items with their price list until the user inputs ‘N’ for No.
Do this with the help of while loop and switch statement. Finally, you have to display the bill amount
of all those selected items.
Sample Run:
Welcome to CS127 Mart!
Item Codes Description Price
100 Sweet 'n Ripe Grapes 125.35
101 Crunchy Apples 52.20
109 Green Peas 25.75
Enter Code: 100
Sweet 'n Ripe Grapes 125.35 Qty: 2
Subtotal: 250.70
Enter Code: 101
Crunchy Apples 52.20 Qty: 1
Subtotal: 52.20
Total Due: 302.90
Cash: 1000.00
Change: 697.10
Another Transaction? <Y/N> N
Your change is Six hundred ninety-seven and ten centavos.
given myString, startString and endString as inputs
your task is to get slice from the myString starting from the startString to the endString and log the sliced string in the console.
the output should be contain sliced string including the startString but not end string
input1
Buckjumping
j
i
output1
jump
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
const myString = readLine();
const startString = readLine();
const endString = readLine();
/* Please do not modify anything above this line */
// Write your code here
}
The input consists of an integer application ID representing the numeric application ID of the student
Date format-2 expalin code sum getting error
which of the following is not primitive data-type?
Date format-2
Enter how many students [Max=25]: 5
Enter name of Student: John Wayne
Enter name of Student: James Bond
Enter name of Student: Bruce Almighty
Enter name of Student: Peter Parker
Enter name of Student: Tony Stark
Enter Grades for John Wayne
Prelim : 95
Midterm : 96
Final : 97
Enter Grades for James Bond
Prelim : 91
Midterm : 92
Final : 93
Enter Grades for Bruce Almighty
Prelim : 98
Midterm : 99
Final : 97
Enter Grades for Peter Parker
Prelim : 92
Midterm : 94
Final : 93
Enter Grades for Tony Stark
Prelim : 99
Midterm : 99
Final : 98
Course: Programming 101
List of Students Prelim Midterm Final Grade Rating
John Wayne 95 96 97 96 1.25
James Bond 91 92 93 92 1.75
Bruce Almighty 98 99 97 98 1.25
Peter Parker 92 94 93 93 1.5
Tony Stark 99 99 98 99 1.0
Computations
Grade = Prelim (30%) + Midterm (30%) + Final (40%)
Grade Rating
99-100 1.0
96-98 1.25
93-95 1.5
90-92 1.75
87-89 2.0
84-86 2.25
81-83 2.5
78-80 2.75
75-77 3.0
74 and below 5.0