working with numbers Flashcards
(7 cards)
1
Q
how to just print out the number or do maths
A
console.WriteLine(50);
and
console.WriteLine(5+5);
2
Q
how to store numbers in variables
A
int ANS= ANS;
3
Q
how to do math operations
A
console.WriteLine(Maths.ANS( , );
4
Q
how to get user input
A
console.ReadLine ();
5
Q
how to store user input
A
using a string
string ANS console.ReadLine();
6
Q
how to use user input in a print line
A
by using +
console.WriteLine(“”+/string/ ANS);
7
Q
how to get users numbers in and store in a string
A