struct


Last updated: 8/23/2020 Difficulty: Easy

Create a C# program that asks the user for their name and age. You must save them in a struct data structure and then greet the user using their name.

Input

Jonny
20

Output

Hello, Jonny!

Solution

Data types B

7 / 7

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising