Showing Page:
1/2
Selerio, Jellah Mae D.
BSIT 501P
Showing Page:
2/2
using System;
namespace GreetingApp
{
class GreetingProgram
{
static void Main(string[] args)
{
Console.Write("Enter your name: ");
string name = Console.ReadLine();
Console.Write("Enter the total number of your enrolled courses: ");
int num;
num = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter the price of your favorite book: ");
double price;
price = Convert.ToDouble(Console.ReadLine());
Console.Write("Name: ");
string Name = Console.ReadLine();
Console.Write("Total enrolled courses: ");
int course;
course = Convert.ToInt32(Console.ReadLine());
Console.Write("Price of my favorite book: ");
double Price;
Price = Convert.ToDouble(Console.ReadLine());
Console.Write("\nPress any key to exit...");
Console.ReadKey();
}
}
}

Unformatted Attachment Preview

Selerio, Jellah Mae D. BSIT 501P using System; namespace GreetingApp { class GreetingProgram { static void Main(string[] args) { Console.Write("Enter your name: "); string name = Console.ReadLine(); Console.Write("Enter the total number of your enrolled courses: "); int num; num = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the price of your favorite book: "); double price; price = Convert.ToDouble(Console.ReadLine()); Console.Write("Name: "); string Name = Console.ReadLine(); Console.Write("Total enrolled courses: "); int course; course = Convert.ToInt32(Console.ReadLine()); Console.Write("Price of my favorite book: "); double Price; Price = Convert.ToDouble(Console.ReadLine()); Console.Write("\nPress any key to exit..."); Console.ReadKey(); } } } Name: Description: ...
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4