tariqalefy321 tariqalefy321
  • 17-10-2020
  • Computers and Technology
contestada

Write a pseudo-code that prints all numbers divided by 7 between two given values , and show result to screen at the end

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 17-10-2020

Answer:

float ans;

int firstvalue;

int secondvalue;

for(int i = firstvalue; i<=secondvalue; i++)

{

ans = i/7;

console.writeline(roundtodecimal(ans),2);

}

Answer Link

Otras preguntas

The western starts at 6:35 pm and ends at 9:10 how long is the movie
decided weather or not n=9 is a solution to the equation 2+n=7.
The photographers inspired numerous, future, new journalists. Correct each sentence by adding or deleting commas as needed. My question was not answered.
What made Virginia anda New York finally agree to ratify the Constitution?​
what is the area of yhe following circle?either an exact answer in terms of or use 3.14 for and enter your ansert as a decimalr=5 units2 ​
Alice purchased a compass from an online retailer. The cost of the compass was $60.00, and was marked 40% off. Sales tax for the item is 7.5%, plus a shipping f
NUmber 3 plssssssssssssssssssssssssss
The purpose of preparing a direct materials budget is to ________. multiple choice 1 allocate the cost of raw materials to production departments estimate the m
Mr.moss has 4 gallons of paint. He painted 8 doors. How many benches can he paint with the paint that is left
Item 4 A triangle has an area of 80 yd² and a height of 10 yd. How long is the base of the triangle? Enter your answer in the box. yd