Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Write a program to:

  1. Store the following message into a string (DO include periods!):
  2. I am the door of the sheep. All who came before me are thieves and robbers, I am the door.
  3. Insert the following message after the comma in the string.
  4. but the sheep did not listen to them.
  5. Output the string to the screen with a new line at the end.
  6. Replace the following words in the string.
  7. a. “I” and "me" with “Jesus”
  8. b. “am” with “is”
  9. Note: Make sure you only replace the word “ am“ and not the letters “am" that might appear in that sequence in another word
  10. Output the string with a new line at the end.

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


LATEST TUTORIALS
APPROVED BY CLIENTS