Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.Create a program (name of the program is ans2), that will display a name,a cou

ID: 3782667 • Letter: 1

Question

1.Create a program (name of the program is ans2), that will display a name,a course name, and a date . Each 'string' should first be placed i.nto a variable before it is displayed.

All variables (and any other objects you use) should be created with significant names. For example the variable to hold your name might be called myName or strMyName.

a What does the author mean by an "ego system of connected devices"?

b. List and explain each part of the 3 C's framework.

c. What is a hybrid app?

d. What is the one significant thing that can help you with web application development?

.

2.Create a C# program that does the following. The application must be named ans3 and all variables used MUST use proper names

Your program will accept accept three grades from the user. The program will calculate the average of the three grades. A conditional statement will use the average calculated to display a message similar to the following:

"You are doing great. You have an A"

"You are doing well. You have a B".

"You are doing OK. You have a C".

"You need to improve. Ask for more help.

The average should be placed into a variable and the conditions statement should use the variable for comparison. For example

if (average >= 90) ...

Explanation / Answer

Q2

using System;
using System.Collections.Generic;
using System.Linq;
          
public class Program
{
public static void Main()
{
  
Console.WriteLine("Enter 3 grades separated by spaces");
string[] tokens = Console.ReadLine().Split();
int a = int.Parse(tokens[0]);
int b = int.Parse(tokens[1]);
int c = int.Parse(tokens[2]);
int avg=(a+b+c)/3;
Console.WriteLine("Your Avearge is"+avg);
  
if(avg>=90)
{
Console.WriteLine("You are doing great. You have an A");
}
else if(avg<90 & avg>80)
{
Console.WriteLine("You are doing well. You have a B");
}
else
{
Console.WriteLine("You need to improve. Ask for more help");
}
}
}

====================================

Outptu:

==============================================

using System;
using System.Collections.Generic;
using System.Linq;
          
public class Program
{
public static void Main()
{
  
Console.WriteLine("Enter name");
string myname= Console.ReadLine();
  
Console.WriteLine("Enter course name");
string coursename= Console.ReadLine();

  
Console.WriteLine("Enter Date");
string Date= Console.ReadLine();

  
Console.WriteLine("Name is "+myname+" Course name is "+coursename+" Date is "+Date);
  
  
}
}

=======================================

Output: