This is my code so far in visual studio.
/in Feeds /by Munene davidThis is my code so far in visual studio. I want the code to restart with enter student name instead of
terminating when the values entered produce an error. I think I need a while statement. If you could show me where it needs to be placed to start the while loop that would be helpful.
static void Main(string[] args)
{
double points = 0;
string lastName;
string firstName;
Console.WriteLine(“Welcome to the Student Grade Calculator”);
Console.WriteLine(“Please Enter Students first name “);
firstName = Convert.ToString(Console.ReadLine());
Console.WriteLine(“Enter ” + firstName + “‘s Last Name “);
lastName = Convert.ToString(Console.ReadLine());
Console.WriteLine(“Enter ” + firstName + ” ” + lastName + “‘s” + ” Total Points Earned”);
points = Convert.ToDouble(Console.ReadLine());
if (points >= 900 && points <= 1000)
{
points = points / 10;
Console.WriteLine(“________________________________________________________________________________________________________________________”);
Console.WriteLine(“Student Grade Is ” + points + ” Great Job”);
Console.WriteLine(“student Grade is in 90 – 100 percentile Student Letter Grade ‘A'”);
Console.WriteLine(“”);
Console.WriteLine(“********************Terminating program*********************************************************************************”);
Console.WriteLine(“Thank you for using the Student Grading Calculator”);
Console.ReadLine();
}
else if (points >= 800 && points <= 900)
{
points = points / 10;
Console.WriteLine(“________________________________________________________________________________________________________________________”);
Console.WriteLine(“Student Grade Is ” + points + ” Good Work”);
Console.WriteLine(“Student Grade Is In 80 – 90 Percentile Student Letter Grade ‘B'”);
Console.WriteLine(“”);
Console.WriteLine(“*****************************Terminating Program************************************************************************”);
Console.WriteLine(“Thank You for Using the Student Grade Calculator”);
Console.ReadLine();
}
else if (points >= 700 && points <= 800)
{
points = points / 10;
Console.WriteLine(“___________________________________________________________________________________________________________________”);
Console.WriteLine(“Student Grade Is ” + points + ” Average Score”);
Console.WriteLine(“Student Grade Is In 70 – 80 Percentile Student Letter Grade ‘C'”);
Console.WriteLine(“”);
Console.WriteLine(“**********************************TERMINATING PROGRAM**************************************************************”);
Console.WriteLine(“Thank You for Using the Student Grade Calculator”);
Console.ReadLine();
}
else if (points >= 600 && points <= 700)
{
points = points / 10;
Console.WriteLine(“___________________________________________________________________________________________________________________”);
Console.WriteLine(“Student Grade Is ” + points + ” Below Average Score”);
Console.WriteLine(“Student Grade Is In 60 – 70 Percentile Student Letter Grade ‘D'”);
Console.WriteLine(“”);
Console.WriteLine(“********************************TERMINATING PROGRAM***************************************************************”);
Console.WriteLine(“Thank You For using The Student Grade Calculator”);
Console.ReadLine();
}
else if (points >= 0 && points <= 600)
{
points = points / 10;
Console.WriteLine(“_____________________________________________________________________________________________________________________”);
Console.WriteLine(“Student Grade Is ” + points + ” Failing Score”);
Console.WriteLine(“Student Grade is Below 60 Percentile Student Grade Is ‘F'”);
Console.WriteLine();
Console.WriteLine(“*********************************TERMINATING PROGRAM*****************************************************************”);
Console.WriteLine(“Thank You For using the Student Grade Calculator”);
Console.ReadLine();
return;
}
if (points < 0 || points > 1000)
{
points = points / 10;
Console.WriteLine(“____________________________________________________________________________________________________________________”);
Console.WriteLine(points + ” THIS IS NOT A VALID SCORE PLEASE RE-ENTER STUDENT SCORE”);
Console.WriteLine(“Thank You For Using the Student Grade calculator Program”);
}
Console.ReadLine();
}
}
- }
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
which method will return the first element in an arraylist
/in Feeds /by Munene davidI need a database solution for the attached documents. This is the assignment: Using MySQL
/in Feeds /by Munene davidI need a database solution for the attached documents. This is the assignment:
Using MySQL, write the
statements to develop a physical model of your database by creating the tables and constraints based on your Task 1 logical model. Be sure to use your ERD and data dictionary and create all constraints appropriately.
Once your tables are created, you will populate them with data using MySQL statements to insert records into the database. You should insert a minimum of five records into each table and more where necessary to ensure that the data in the database is sufficient to allow for each of your reports to be tested.
The result will be a script file that includes statements to
- DROP all tables;
- CREATE all tables with constraints;
- INSERT data into all tables; and
- SELECT data from all tables to show the data in each table.
Name this file yourname_task2.txt.
Also create a Word document that shows the structure of each table and the data in each of your tables (copy and paste from MySQL). Name this file yourname_tables.docx.
Note that your deliverables each week include any revisions to a previous task.
Submit your Task 2 deliverable as a zip file including the following.
- Task 0 proposal (with any revisions)
- Your Task 1 ERD (with any revisions)
- Your Task 1 DD (with any revisions)
- Your Task 2 script file to create and populate tables (yourname_task2.txt)
- A Word document showing all tables and data (yourname_tables.docx)
Place all documents for this deliverable in a separate zip file from your lab, and put it in the Week 5: Course Project Dropbox.
See the Syllabus section “Due Dates for Assignments & Exams” for due date information

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
About Us
![]()
Since 2010, we have offered professional writing services to clients all over the world.
Over the years, our writers have gained solid experience in all academic disciplines, giving them a competitive edge to provide only first-rate academic papers.
![]()
QUICK LINKS
Contact Us
For any questions, feedback, or comments, we have an ethical customer support team that is always waiting on the line for your inquiries.
Talk to us
support@academicheroes.com
Call us: +1 (203) -677 0547