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

Given the following declarations, what is the result of each of the expressions?


   double w = 12.9, y = 3.2;

   double z = 12.2

a.w / z

b.z / w

c. w / z - y

d. w – z*y

e. (w – z) * y

f. z / y / w 

g. z / (y / w) 

h. y % z


Given an integer between 0 and 10000, write a program to print the sum of its digits.Input


The first line of input will contain an integer.Output


The first line of output should be the sum of the digits.Explanation


For example, if the given number is 25, your code should print the sum of the digits (2 + 5), which is 7.


Similarly, if the given number is 692, your code should print the sum of the digits (6 + 9 + 2), which is 17.


Similarly, if the given number is 9999, your code should print the sum of the digits (9 + 9 + 9 + 9), which is 36.

Sample Input 1

25

Sample Output 1

7

Sample Input 2

692

Sample Output 2

17

Sample Input 3

9999

Sample Output 3

36



Python 3.9


RESET




Kindly answer this urgently. plz, read the instructions carefully.

And this question was answered by another person but there was no main method, without the main method how I can run the project could you please add the main method. 

The program does 2 + 2; I need the program do 3 * 2 ; and 3 / 2; and 3^2;

program code link is given below.

And use the code mention in the link to modify. Thanks

Modify this code so the program do 3 * 2; and 3 / 2; and 3^2; as well.


https://drive.google.com/file/d/1NoVc1HNT9kPNJhnFg0x2V44tak9C0x4c/view?usp=sharing



Write a program for Horizon Phones, a provider of cellular phone service. Prompt a user for maximum monthly values for talk minutes used, text messages sent, and gigabytes of data used, and then recommend the best plan for the customer's needs. A customer who needs fewer than 500 minutes of talk and no text or data should accept Plan A at $49 per month. A customer who needs fewer than 500 minutes of talk and any text messages should accept Plan B at $55 per month. A customer who needs 500 or more minutes of talk and no data should accept either Plan C for up to 100 text messages at $61 per month or Plan D for 100 text messages or more at $70 per month. A customer who needs any data should accept Plan E for up to 2 gigabytes at $79 or Plan F for 2 gigabytes or more at $87.



The placement season has begun in a college. There are N number of students standing outside an interview room in a line. It is given that a person who goes in first has higher chances of getting selected.
Input1- an integer N, which denotes the number of students present
Input2- An array of size N, denoting the problem solving capacity of the students.

Each student has a number associated with them known as the problem-solving capability (PSC). The higher the capability, the higher the chances of selection. Now, each student wants to know the number of students ahead of him/her who have more problem-solving capability than him/her.

Find this number for each student.

Prepare a c++ program of the sample run below:

SAMPLE RUN:

                    Name         Q1      Q2     Q3      Q4     Q5   

           

                  Von                     20

                  


Find the name of the German customer(s) who has paid the most in total and is not associated with a company.

input 1) an integer N,which denotes the number of students present
Input 2) an array of size N denoting the problem solving capacity of Students

Given Create a program that when run with a name, an integer and a double as CMD arguments, it prints out a greeting using the name and also print the difference of the two given numbers


Given Create a program that when run with a name, an integer and a double as CMD arguments, it prints out a greeting using the name and also print the difference of the two given numbers: Sample run 1:  



LATEST TUTORIALS
APPROVED BY CLIENTS