Marie program that will input a variable

Assignment Help Basic Computer Science
Reference no: EM13165710

To develop a MARIE program that will input a variable number of user entered Decimal whole number grades, validating each one (0-100) in a subroutine. If the input is invalid no action is needed except to terminate the input loop. Any invalid input will act as a "sentinel" (terminating value such as -1) and terminate input. I need to calculate the average.  MARIE doesn't have a division operator so I need to do repeated subtractions and then truncate the remainder and output a whole number.

Reference no: EM13165710

Questions Cloud

State what is the order of the reaction with respect to h2o2 : If a second experiment is done with half as much H2O2 as the experiment in question 1, and the solution turns blue in 180 seconds, what is the order of the reaction with respect to H2O2?
State potassium iodide required sodium thiosulfate titrant : In an acidic solution (with an excess of iodate), the titration of a 25 mL sample of potassium iodide required 26.51 mL of 0.0949M sodium thiosulfate titrant.
Create an n by m array : Create an n by m array (n, m input by user). Initialize all cells in array to 0. The bug starts at cell 1,1. The bug can jump from its cell to any neighboring cell (left, right, up, down, diagonal) -- so there are at most 8 neighboring cells. Thou..
Disubstituted alkene was formed in which the olefinic proton : disubstituted alkene was formed in which the olefinic protons exhibited a vicinal coupling of 9.0Hz in the H NMR. What is the stereochemistry
Marie program that will input a variable : To develop a MARIE program that will input a variable number of user entered Decimal whole number grades, validating each one (0-100) in a subroutine
Write a function that computes length of a character string : Write a function that computes the length of a character string (i.e. write your own implementation of the strlen function.
State hydrangeas are flowers that retain blue coloration : Hydrangeas are flowers that retain blue coloration when grown in acidic soil and pink when grown in neutral or alkaline soil
Reason why you would not install cables : Give me two reason why you would not install cables in ducts that are used to transport dust loos stock, flammable vapors or in those ducts that are used for ventilattion for cooking?
State what is the concerntration of the weak acid : The student then titrated 25.0 ml of the same buffer with 0.1115 M NaOH. The observed titration curve is shown below

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Verify local police department-s findings on current case

Your computer investigation firm has been hired to verify local police department's findings on current case. Tension over the case is running high in the city.

  Common types of policies for web services

What are the most common types of policies for Web services? 12.2 What are the main components of WS-Policy Framework?

  Database redesign is working properly in redesign testing

To make sure that database redesign is working properly during redesign testing process, a means should be created to do which of the following?

  Describe how cpu can achieve i-o with teletype by registers

Consider a computer system that contains an I/O module controlling a simple keyboard/ printer Teletype. Describe how de CPU, using the first four registers listed in this problem, can achieve I/O with the Teletype.

  Hierarchy chart and then plan the logic

Draw the hierarchy chart and then plan the logic for a program needed by the sales manager of The Henry Used Car Dealership. The program will determine the profit on any car sold

  How much of program-s time slice can be spent waiting

Desired data to rotate around to the read/write head, how much of a program's time slice can be spent waiting for a read operation from a disk to take place?

  Item number in the inventory

Write a console program that will ask the user for an item number in the inventory and display the name of that item. Stay in a loop so that the user may enter the item number multiple times. Use the letter E to exit the application. Show an error me..

  Dis-assemble each of the following

Dis-assemble each of the following MIPS R2000 object code into source code instructions. Use register names, such as $t2, instead of numbers, such as $20.

  Determine decimal value on big-endian machine

A 32-bit word on the little-endian computer has decimal value of 261. Determine its decimal value on big-endian machine?

  Explaining final results in cell to a percentage

Second quarter revenue total has increased from first quarter revenue total by 60.16%. Make sure to change cell format for final results in the cell to a percentage.

  Program that will implement a binary search

Write a program that will implement a binary search. You program should store 40 numbers. The 40 numbers will be initialed in an array (See Below). Your program should read in each number, call a binary search, and Indicate if the number is found ..

  Can a quantum computing bit-s multiple states contribute

Can a quantum computing bit's (qbit's) multiple states contribute any more computing power or hold any more extraordinary mathematical control/significance.

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