• Q : Writes to standard output the variables value....
    C/C++ Programming :

    Writes to standard output the variable's value, twice the value, and the square of the value, separated by spaces.

  • Q : Write a program that uses a nested loop....
    Programming Languages :

    Number Stack Different. Write a program that uses a nested loop to generate the output shown below. Be sure that the value on the line changes with each digit displayed. For example, line 5 has the va

  • Q : Design a population class that stores a current population....
    Programming Languages :

    Design a Population class that stores a current population, annal number of births and annual number of deaths for some geographic area. The class should allow these three values to be set in either o

  • Q : In a pseudocode program write a program that computes....
    Programming Languages :

    In a pseudocode program write a program that computes and displays a 15b percent tip when the price of a meal input by the user.(Hint: the tip is computed by multiplying the price of the meal

  • Q : Design and write 3 classes....
    Programming Languages :

    Design and write 3 classes - Account, CheckingAccount, and SavingsAccount. Have CheckingAccount and SavingsAccount inherit from Account. In Account, you should include an account number, an account ba

  • Q : Write a program in java to input the basic salary....
    Programming Languages :

    Write a program in java to input the basic salary of 15 persons . Each one of them gets 25% of the basic as hra (house rent allowance), 15 % of the basic as conveyance and 10 % of the basic as enterta

  • Q : Consider a program that accesses a single i/o device....
    Programming Languages :

    Consider a program that accesses a single I/O device and compare unbuffered I/O to the use of a buffer. Show that the use of the buffer can reduce the running time by at most a factor of two

  • Q : Write a java program that will prompt the user....
    JAVA Programming :

    Write a java program that will prompt the user for a positive integer(num) and then display two triangles with num numbers of lines to represent the following pattern of asterisks.The input num must b

  • Q : Ask the user to choose p for pine....
    Programming Languages :

    Write a program for a furniture company. Ask the user to choose P for pine, O for oak, or M for mahogany. Show the price of a table manufactured with the chosen wood. Pine tables cost RM100,

  • Q : Write a program for a furniture company....
    Programming Languages :

    Write a program for a furniture company. Ask the user to choose P for pine, O for oak, or M for mahogany. Show the price of a table manufactured with the chosen wood. Pine tables cost $100, oak tables

  • Q : Create a program that outputs the results of the formula....
    Programming Languages :

    Given a = 5,b = 1, x = 10, and y = 5, create a program that outputs the results of the formula f = (a - b) (x - y) using a single print f () function.

  • Q : Write a marie program that performs the three basic stack....
    Programming Languages :

    Write a MARIE program that performs the three basic stack operations: push, peek,and pop (in that order). In the peek operation, output the value that's on the top of thestack. (If you are unfamiliar

  • Q : C program that determines the miles per gallon....
    C/C++ Programming :

    This program will calculate the miles per gallon for you for three tanks of gas afteryou have entered the gallons used and miles driven.

  • Q : Write a java application that displays a series....
    JAVA Programming :

    Write a java application that displays a series of atleast four survey questions and each question should have three possible numeric choice answers. At the end of the survey use a dialog box to ask w

  • Q : Consider the 3-bit block cipher....
    Programming Languages :

    Suppose the plaintext is 101101101. If CBC is not used, what is the resulting ciphertext? If CBC is used with IV = 111, what is the resulting ciphertext? Show all work.

  • Q : Select five elements of design....
    Programming Languages :

    Select FIVE elements of design that can be explored to help you create the best composition possible, when creating work in Illustrator? LINE

  • Q : The national commerce bank has hired you to create an app....
    Programming Languages :

    The National Commerce Bank has hired you to create an application that verifies a customer personal identification number (PIN). A valid PIN is a seven-digit number that meets the following specificat

  • Q : Create a program that outputs the result....
    Programming Languages :

    Given a=5,b =1, x = 10, and y = 5, create a program that outputs the result of a formula f = ( a - b) ( x -y) using a single printf ( ) function.

  • Q : Create a program that uses the formula....
    Programming Languages :

    Create a program that uses the same formula above to output the result. This time, prompt the user for the values a,b,x, and y. Use appropriate variable names and naming conventions. a= 5, b = 1, x =

  • Q : The function will receive an int parameter....
    Programming Languages :

    A boolean variable is needed in the function. E.g., if the number is 27 then the variable would be set to false and the function would return false to the calling program. In this casethe program woul

  • Q : Design a class named customerrecord that holds a customer....
    Programming Languages :

    Design a class named CustomerRecord that holds a customer number,name, and address. Include methods to set the values for each data field and output the values for each data field. Create the class di

  • Q : What is the relevance of the .net framework....
    Programming Languages :

    The purpose of this assignment is to have students research the .NET Framework on the Internet and other sources and share their findings with each other. 

  • Q : Design a sequential circuit that can detect....
    Programming Languages :

    Design a sequential circuit that can detect two or more consecutive 1's in a stream of input bits. Specifically, if the last two bits in the sequence were 1, the circuit should output 1. Otherwise, it

  • Q : Write an abstract method....
    Programming Languages :

    Write an interface, PointingDevice, containing:an abstract method, getXCoord that returns an int an abstract method, getYCoord that returns an int

  • Q : Check errors in the code....
    Programming Languages :

    Assign to the variable boolean 'primeSecond' the value true if the second leading (just after the most significant) decimal digit of the value of an int variable 'n' is 2,3,5 or 7; otherwise assign 'p

©TutorsGlobe All rights reserved 2022-2023.