• Q : Write a code to read in two 4-element word arrays....
    Programming Languages :

    Write a code to 1) read in two 4-element word arrays A(0), A(1), A(2), A(3), and B(0), B(1), B(2), B(3), in decimal 2) compute A(0) * B(0) + A(1) * B(1) + A(2) * B(2) + A(3

  • Q : Write a program to input the price of item and the quantity....
    Programming Languages :

    You are to write a program to input the price of an item and the quantity purchased. The program is simply to output the total cost, which is the item price multiplied by the quantity.

  • Q : You have successfully developed a new financial accounting....
    Programming Languages :

    You have successfully developed a new financial accounting system in your organization. You have completed the development of the user documentation and training plan. As part of your training plan, y

  • Q : Distance traveled calculator....
    Programming Languages :

    Design a Windows application and write the code that will execute according to the program requirements shown in Figure 6-132. Before writing the codes, create an event planning document for each even

  • Q : The first letter of the first word should be capitalized....
    Programming Languages :

    The sentence should end with a punctuation mark. If the original sentence did not end with a punctuation mark, add a period. (If the original sentence ended with more than one punctuation mark, it is

  • Q : The values for the starting balance, interest, and amount....
    Programming Languages :

    Write a program for a bank account starts out with (user selectable) .Interest is compounded monthly at (user selectable) percent per year or (user selectable percent per month) .every month (user sel

  • Q : Daily sales volume for nilgiris convenience store....
    Programming Languages :

    Develop two-day, three-day, and four-day moving averages to forecast the sales for each day. What is the forecast for day 11 in each case?

  • Q : Application to crash with a runtime error....
    Programming Languages :

    Open the ch06_ex1_Invoice project. Take a screenshot after you open NetBeans and paste it into a Word or Word processing application and save it as "LastName_Assignment1".

  • Q : Take a screenshot of the error message....
    Programming Languages :

    Test the Invoice Application with an invalid total like S1000 and include the dollar sign. This should cause the crash. Then click with a runtime error and to display an error message in the Output wi

  • Q : Program that will allow the company''s clerk to enter name....
    Programming Languages :

    SAFA Corp. wants a program that will allow the company's clerk to enter employee's name (maximum 20 characters) and number of hours worked during the month. The program will display the 

  • Q : A program that inputs salary and grade....
    Programming Languages :

    A program that inputs salary and grade. it adds 50% bonus if the grade is greater than 15. it adds 25% bonus if the grade is 15 or less and then display the total salary.

  • Q : Write a program that models an employee....
    Programming Languages :

    Write a program that models an employee. An employee has an employee number, a name, an address, and a hire date. A name consists of a first name and a last name. An address consists of a street, a ci

  • Q : Allow the user to input a last name....
    Programming Languages :

    Allow the user to input a last name; then search the file and display all names and phone numbers corresponding to that last name.

  • Q : Make a program that breaks a given number of cents....
    Programming Languages :

    Make a program that breaks a given number of cents down into units of currency. theprogram should first ask the user to enter the total number of cents.

  • Q : Create a program using a loop that calculates the square....
    Programming Languages :

    Create a program using a loop that calculates the square of each number (the number raised to the second power) starting with 1 and outputs the square . The program should end when the square is equal

  • Q : Design a program that will ask the user to enter the amount....
    Programming Languages :

    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. Assume the state sales tax is 4% and the county sales tax is

  • Q : Write a ruby function that takes a number x....
    Programming Languages :

    Write a ruby function that takes a number X as an input parameter and returns the Xth number in a standard fibonacci sequence. For example, fib(5) would return 5 (1, 1, 2, 3, 5) and fib(7) would retur

  • Q : Design a change-counting game that gets the user....
    Programming Languages :

    Design a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should ask the user to enter the number of pennies, nickels, dimes, and q

  • Q : Write a program that accepts as input the mass....
    Programming Languages :

    Write a program that accepts as input the mass, in grams, and density, in grams per cubic centimeters, and outputs the volume of the object using the formula: density = mass / volume. Format

  • Q : An application copying bits from one place to another....
    Programming Languages :

    An application copying bits from one place to another can send the bits in a stream or as a sequence of discrete-sized messages. Which approach is more powerful, in the sense of being to perform some

  • Q : A program that accepts a candy name....
    Programming Languages :

    A program that accepts a candy name (for example, " chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month, and displays the item's data only if it is a best-

  • Q : Create and test a procedure name extended_ sub that subtract....
    Programming Languages :

    Create and test a procedure named Extended_ sub that subtracts two binary integers of arbitrary size. Restrictions: The storage size of the two integers must be the same, and their size must be a mult

  • Q : Write a program segment that inputs age....
    Programming Languages :

    Write a program segment that inputs age, display "yes, you can vote" if Age is 18 or older and displays "you are too young to vote" if Age is less than 18, and displays nothing else. Remember to use t

  • Q : The program starts by printing your name with an end sign....
    Programming Languages :

    Write a head line into "test1.txt" saying that "The following is a copy from test.txt";copy the contents from "test.txt" to "test1.txt", and your program exit.

  • Q : You write a program that will search for a list of keywords....
    Programming Languages :

    CS112 teacher is having a problem with students who giving lame excuses in order to avoid submitting the assignment. In order to reduce the amount of time required listening to goofy excuses, the teac

©TutorsGlobe All rights reserved 2022-2023.