+ 1
Help I got stuck on the c# 5.2 practice can someone tell me what to do it just says there are bugs but I can't find them
I'm stuck on c# 5.2 practice. You are making an authorization program for your application. The given code takes the name of the person as input and outputs it in the given format. Complete the program to also take their age as input and output the corresponding text in the provided format. Sample Input Tom 26 Sample Output Name: Tom Age: 26
6 Réponses
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Code_Coach_Challenge
{
class Program
{
static void Main(string[] args)
{
string name = Console.ReadLine();
int age = Convert.ToInt32(Console.ReadLine());
Console.Write("Name: {0}\nAge: {1}", name, age);
}
}
}
+ 4
Please post your code in the code playground, then post a link to it here. Please also post the task description, (most) people here don't know off the top of their head what c# 5.2 is about.
+ 3
You are making an authorization program for your application.
The given code takes the name of the person as input and outputs it in the given format.
Complete the program to also take their age as input and output the corresponding text in the provided format.
Sample Input
Tom
26
Sample Output
Name: Tom
Age: 26
+ 1
It is on user authorization
+ 1
Thank you everyone