APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 1 Day Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Programming Posted 16 Jul 2017 My Price 14.00

using using using using System; System.Collections.Generic; System.Linq; System.Text; namespace Test_1_convert_to_method { /* Programmer: Robert S....

Visual Studio C#

You are to take the program in the attached program.cs file and convert it to one that uses methods.

 

Rubric:

Created at least two methods: 2.5 points

 

Properly passed information to method: 2.5 points

 

Program still works correctly: 5 points

 

 

using
using
using
using System;
System.Collections.Generic;
System.Linq;
System.Text; namespace Test_1_convert_to_method
{
/* Programmer: Robert S. Rokey
* Date Written: 5/29/17
*
* The following program will allow the user to enter a number of scores and
then provide the user with the high score, low score and the average
*
*
*/
class Program
{
static void Main(string args)
{
int number_of_scores;
double score, total_score = 0, high_score, low_score, average;
Console.Write("please enter the number of scores that you wish to process? "); number_of_scores = int.Parse(Console.ReadLine());
Console.Write("Please enter score " + 1 + " ");
score = double.Parse(Console.ReadLine());
high_score = score;
low_score = score;
for (int i = 2; i<= number_of_scores; i++)
{
Console.Write("Please enter score " + i + " ");
score = double.Parse(Console.ReadLine());
total_score = total_score + score;
if (score > high_score)
high_score = score;
if (score < low_score)
low_score = score;
}
average = total_score / number_of_scores;
Console.WriteLine("you
Console.WriteLine("The
Console.WriteLine("The
Console.WriteLine("The
}
} } entered " + number_of_scores + " scores");
high score is " + high_score);
low score is " + low_score);
average score is " + average);

Answers

Not Rated (0)
Status NEW Posted 16 Jul 2017 11:07 AM My Price 14.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)