Computers and Technology
Computers and Technology, 27.03.2021 04:30, jwbri

Hello! I am a new coder, so this is a simple question. But I am trying to create a code where you enter a number, then another number, and it divides then multiply the numbers. I put both numbers as a string, and as result when i tried to multiply/divide the numbers that were entered, an error occurred. How can i fix this? using System;

namespace Percentage_of_a_number
{
class Program
{
static object Main(string[] args)
{
Console. WriteLine("Enter percentage here");
string Percentage = Console. ReadLine();

Console. WriteLine("Enter your number here");
string Number = Console. ReadLine();

String Result = Percentage / 100 * Number;

}
}
}

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:00, eguzmandpandoracom
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
image
Computers and Technology, 23.06.2019 11:30, kieante01
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
image
Computers and Technology, 23.06.2019 20:50, terryhgivens5349
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
image
Computers and Technology, 24.06.2019 06:00, bzhsh8282
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
Do you know the correct answer?
Hello! I am a new coder, so this is a simple question. But I am trying to create a code where you en...

Questions in other subjects:

Konu
Mathematics, 19.04.2021 23:20
Konu
Social Studies, 19.04.2021 23:20
Konu
Mathematics, 19.04.2021 23:20
Konu
Social Studies, 19.04.2021 23:20