Write program to compute summation of four grades

Assignment Help Programming Languages
Reference no: EM1389393

a. when user press, the program computes summation of four grades (Grade1+Grade2+Grade3+Grade4) and print the result in the picture box (picSum)

b. when user press, program computes average of four grades by computing summation firstly, and then divide the summation by 4

(Grade1+Grade2+Grade3+Grade4)/4

At last, results have to be printed in the picture box (picAvg)

c. if user forget to enter value of one or more grade, or if user entered non-numaric value like "a", the program must consider these unexpected values as zeros

for example: if user enter the values

Grade1=8

Grade2=9

Grad3= "" (nothing: forget to enter a value)

Grade4="Ab"

Summation should be 8+9+0 (instead of "") + 0 (Instead of "AB") =17

4. if user press button, program should erase any value in four Text Boxes ( txtGrade1 , txtGrade2, txtGrade3, txtGrade4), and two picture boxes: picSum, and picAvg.

Reference no: EM1389393

Questions Cloud

Creating the different haplotypes : A rare autosomal recessive disorder causes pink hair. A non-carrier male and an affected female marry. Think about the following pedigree and RFLP analysis prepared using HindIII.
The promotion comes with a fifty percent increase in pay : Jennifer is eligible for a promotion in twelve months; the promotion comes with a 50 percent increase in pay and 25 percent bonus. She is competing with three other employees for the position
Identify two areas where the internet as affected the law : Identify two areas where the internet as affected the law regarding either contract law, employment law, or intellectual law?
Small bags distribution to wholesalers : A flour mill produces flour in small bags before distributing them to wholesalers. The average weight of each bags is 8 kg with a standard deviation of 0.5 kg.
Write program to compute summation of four grades : when user press, the program computes summation of four grades (Grade1+Grade2+Grade3+Grade4) and print the result in the picture box (picSum).
Dendritic and t regulatory cells affect immune tolerance : Describe how Dendritic cells and T regulatory cells affect immune tolerance. And what woulld happen if there is too much immuno tolerance ?
Describe the three stages of medical technology development : Explain how health is affected by behaviors, economics, and social structure. Describe the three stages of medical technology development.
What is the best way to develop and introduce health : What is the best way to develop, introduce, regulate, provide access, and pay for new health technologies in the 21st century?
Information about medication errors : Please discuss the a concise explanation of the problem of medication errors in the hospital. Address statistical numbers and propose a solution.

Reviews

Write a Review

Programming Languages Questions & Answers

  Design program to ask user to enter amount of purchase

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax.

  Design architecture of system to accept natural language

Using the generic model of a language processing system presented here, design the architecture of a system that accepts natural language commands and translates.

  Write program to calculate miles per gallon for automobile

Write down the program which calculates miles per gallon for automobile. The program must ask for beginning milage reading on odometer at first.

  Write program to open the text file-reads its contents

Write down a program which opens the text file and reads its contents into the stack of characters. Program must then pop characters from stack and save them in second text file.

  Write program to enter age using exception handling

Prepare the program called EnterYourAge3.java which asks user to enter his or her age and uses exception handling to catch NumberFormatException in case user enters nonnumeric character.

  Write pseudocode for the function of nonplayercharacter

Identify two additional classes needed for a more detailed class model. Their names should be descriptive enough to indicate their overall responsibilities.

  Computer sales and repair store system

It is required to design a relational database system for a "realistic" application

  Write a program to show simplified bill

Write a program to show a simplified bill. Customers name, number of hours of labor, and cost of parts and supplies must be entered into program via text boxes.

  Benefits of programming with objects and classes

How is it different from programming with functions alone? Write down benefits of programming with objects and classes in Web applications?

  Write the program which processes test data

Write the program which processes test data. Output must be student's ID, followed by answers, followed by test score, followed by test grade. Suppose the following grade scale.

  Create program to counts number of bytes located in memory

Create the program which Counts the number of bytes located in memory from DS:1000h to DS:1200h which are greater than 77h. Put the count on register CX.

  Write a full program to convert seconds into hours

Write a full program (starting from #include) that takes as input the number of seconds after midnight and displays the time in hours.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd