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 & Filtering

Create a user defined method named calcCost() that accepts two double values as input (length

and width), and then computes the estimated cost of painting a room (walls only, not ceiling),

assuming the room is rectangular and has four full walls and the walls are 2.6 meter high. The rate

for the painting job is R20 per square meter. Your method should return the estimated cost to the

calling method.

Create a program whose Main() method prompts a user for the length and the width of a room in

meter, then calls calcCost to calculate the estimated cost. Once calculated, you should display

the estimated cost.


the goal of this coding exam is to quickly get you off the ground with the array method filter(). given vowels List in the prefilled code and ward List as an input, write a js program to, filter the words from wordsList with at least one vowel in it. log the array containing the filtered words in the console


"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 wordsList = JSON.parse(readLine().replace(/'/g, '"'));

 const vowelsList = ["a", "e", "i", "o", "u"]

 // Write your code here

}


Write a program to find the table of numbers using a while loop. Your program should ask the

size of the table. That size defines the rows and columns. Sample output:

Enter size: 6

1 2 3 4 5 6

------------------------------------------

1* 1 2 3 4 5 6

2* 2 4 6 8 10 12

3* 3 6 9 12 15 18

4* 4 8 12 16 20 24

5* 5 10 15 20 25 30

6* 6 12 18 24 30 36


Write a C++ program that converts a decimal number to a binary, octal, and

hexadecimal equivalents. First, the program will ask to fix a range for the lower and

upper limit in which the conversion is required. The lower limit should not be less than

0 and greater than the upper limit. For example, if you enter a negative number or

greater than the upper limit, then the program should print a message for the invalid

input and will ask you again to enter a decimal number within the range. If you

correctly specify the upper and lower limits, then the program will print a table of the

binary, octal and hexadecimal equivalents of the decimal numbers in the range of

lower limit through upper limit.

Specific grading criteria: In this program you should use all the loops (e.g., while,

do-while and for loop) each of them only one time. The output mentioned below is just

an example; more clear and well- presented output will improve your points.




Write a script(php) i.e. an All-In-One form that will prompt the user for his/her email address and password.

The database table tblUser must be opened and interrogated by searching for the email address and connect to the database with the password.

Use the appropriate css and images folders with proper formatting of webpages.

Now display the user photo with comment Successful Logged in within a table!!

Please use the rubric supplied to complete the project.

Also add a button that will display the whole table with pictures and profile data within a table on your screen. You must at least have 10 users to display


Create a c++ program with functions to read a file name start.txt.the string read from the file should be false and replaced with true and a message output "the system have started"to a file called system.txt. then a login screen should appear to prompt the user to enter an admin login only one admin should be entered and then prompt to create another user for regular login after successfully login a class.txt file should be saved and all user name and password along with random session id created.

Program that receives the current temperature as input. If the temperature is 80 degrees or more, output a message telling the user to go swimming, otherwise, if the temperature is 50 degrees or more, output a message to go running, otherwise stay inside.


create a fashion blog webpage


Write a C++ program that asks the user to enter a number N .After that, print N lines using asterisk (*) in a


triangle shape as shown below;


By using nested loop

Write a function which will take 2 arguments. They are:

• Sentence

• Position

Your first task is to take these arguments as user input and pass these values to the function

parameters.

Your second task is to implement the function and remove the characters at the index number

which is divisible by the position (Avoid the index number 0 as it will always be divisible by the

position, so no need to remove the index 0 character). Finally, add the removed characters at

the end of the new string.

Return the value and then finally, print the new string at the function call.

[Cannot use remove() or removed() for this task]


Input:

"I love programming."

3

Function call:

function_name("I love programming.", 3)

Output:

I lveprgrmmngo oai.

===================================================================

Input:

"Python is easy to learn. I love python."

6

Function call:

function_name("Python is easy to learn. I love python.", 6)

Output:

Pythonis eay to earn.I lov pythn. sl eo


LATEST TUTORIALS
APPROVED BY CLIENTS