Answer to Question #248013 in C# for Hilok

Question #248013
Create a program that prints the given four integers into one line
1
Expert's answer
2021-10-07T03:32:15-0400
using System;
class PrintIntegers {
 static void Main() {
  int i1 = 1;
  int i2 = 2;
  int i3 = 3;
  int i4 = 4;

  Console.WriteLine(i1.ToString()+" "+i2.ToString()+" "+i3.ToString()+" "+i4.ToString());
 }
}

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS