# Homework Help: Computers: Programming Languages

## Recent Homework Questions About Programming Languages

Math
You are setting up a system of programming codes for a universal TV remote. Each code will have five digits and cannot include a 0 or repeat any digits. How many codes: A) do not contain a 1? My answer: 8x7x6x5x4 = 6720 codes B)have 2 as the 2nd digit and 4 as the fourth digit...

Programming C++ using Data Structure.
In an academic institution, Student has its records. Each student has his/her profile such as id number, student name. The institution also keeps records of student grades in each subject. Student grades contains information subject description, school year, semester, and ...

programming(visual basic)
Write and test a program that allows the user to enter the surname of each baby born at a hospital and their birth weight in pounds. There are 12 newborn babies at the hospital.

programming
if n is the number of seconds between lightning and thunder,the storm is n/ Miles away. write a program that reads the number of seconds between lightning and thunder and report the distance of the storm rounded to two decimal places

programming
A store uses the following policy to award discount. If the customer purchases products costing more than ksh 30,000 she is given a discount of 10%, otherwise she is given a discount of 2%. Write a complete C++ program that allows a user to input the total value of purchases ...

Computer Science/Pseudo Code Python
Hi, I'm confused about an assignment. I'm not sure what to do and would like some help. An example: Write a program that obtains two integer numbers from the user. It will print out the sum of those numbers. Pseudo code: Prompt user to enter first integer number Validate user ...

Introduction to computer programming
how to develop flow chart that generate the sum of even number 1 and 10 inclusive

programming
Create the logic for a program that calls a method that computes the final price for a sales transaction. The program contains variables that hold the price of an item, the salesperson's commission expressed as a percentage, and the customer discount expressed as a percentage...

programming logic and design
Using a flowchart write a program that does the following: •Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Use both values to totals that displays the amount you must save per month to ...

programming logic and design
Using pseudocode or a flowchart write a program that does the following: Allow the end user to enter the category the ad will appear in (ex. Automobiles), Number of words and Customer Name Calculate the cost based on 50 cents per word for the first 15 and 25 cents for each ...

Programming
#include<stdio.h> int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'a') printf("Shipping Charge : \$25"); else if(ch == 'b') printf("Shipping Charge : \$50"); else if(ch == 'c') printf("Shipping Charge : \$65"); else printf("The state not ...

Java Programming
I am trying to finish this final problem on my Java homework. Due to a death in the family I've missed a class and now am trying to get back on track. Write a driver class called GasPumpDriver that meets the following specifications: • Prompt the user to enter a 16 digit ...

Programming
#include<stdio.h> int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'a') printf("Shipping Charge : \$25"); else if(ch == 'b') printf("Shipping Charge : \$50"); else if(ch == 'c') printf("Shipping Charge : \$65"); else printf("The state not ...

Programming
#include<stdio.h> int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'a') printf("Shipping Charge : \$25"); else if(ch == 'b') printf("Shipping Charge : \$50"); else if(ch == 'c') printf("Shipping Charge : \$65"); else printf("The state not ...

programming
write a C function which takes a natural number as argument and calculates the product of sum of its digits. A sum-product number is natural number that equals the product of sum of its digits and the product of digits.

programming
write a C function which takes natural number nas argument and calculate the sum of the digits raised to the power of the number of digits in n.

Math
Solve the following linear programming problems by the graphical method Dr. Lum teaches part-time at two different community colleges, Hilltop College and Serra College. Dr. Lum can teach up to 5 classes per semester. For every class taught by him at Hilltop College, he needs ...

COMPUTERS
CALCULATE THE AREA OF CIRCLE OF RADIUS 2CM USING FORTRAN PROGRAMMING LANGUAGE

Literacy
1.Write the participle in the sentence. Why do you need a new pair of hiking boots? My answer - NEED 2.Write the first and last word of the participial phrase. My answer - BEGINNING 3.Write the first and last word of the participial phrase. Disappointed by the lack of ...

programming
I had to create a c code that gets a number, returns how many digits it has,the digits sum, the digits product, to check if the digits sum is equal to product if yes return "1" else return 0, and in the end write a program the prints the first 20 numbers that the sum of their ...

programming
I have a general question. i was given a task to write a c code which gets an integer number as an input and prints the number of digits the number has. I have written a function that does it, but the problem is whenever the integer number is n>=100, the program gets stuck...

computer programming
write a program to print fibonaaci series like 2,1,3,4,7,11,18 up to 10th term using function...end function I did it using SUB..end sub in this way : declare sub series cls call series end sub series a=2 b=1 for p =1 to 5 print a; b a=a + b b=b + a next p end sub How do you ...

logics in programming
for A=1 to 30

Programming Logic and Design
Design an application that accepts eight friends' first names and displays them in alphabetical order

Programming c++
a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales tax 0 Tax exempt 1 3% 2 5% The report is to ...

c programming
Write a program to read from a file called "input.txt" information about 5 workers. Each line would contain two values respectively, an employee ID and the employee's monthly salary. Assume that the data from the input file is stored in a format as shows in this example. Note...

Programming
Declare Integer count For count=1 to 3 Step 2 Display count End For What would the output be?

programming
Design a program and write program that will read a file of sales records and produce a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due ...

Computer programming
Create the logic for a program that accepts inputs value for the projected cost of a vacation and the number of months until vacation. Pass both value to a method that displays the amount you must save per month to achieve your goal.

SQL PROGRAMMING INFORMATION SYSTEMS
In the following SQL query why do they have an independent letter then period then the table name? I seemed to have missed something in the reading and cannot find it for the life of me SELECT D.DNAME, E.ENAME FROM DEPT D LEFT OUTER JOIN EMP E ON D.DEPTNO = E.DEPTNO ORDER BY D...

java programming
the learner is asked to write a program using java with user input that caculate and displays, the number of months it will take the user to save an amount of money. the user must enter the

math - linear programming
A candy company makes a chocolate nut mix and and a chocolate fruit mix. The nut mix uses 2 pounds of chocolate, 2 pounds of nuts and no fruit. The fruit mix uses 4 pounds of chocolate,no nuts and 2 pounds of fruit. The nut mix brings in \$7 profit and the fruit mix brings in \$...

c++ programming
I need some help with my homework please Write a C++ program to prompts the user to enter the first character of shape name (Cycle, Rectangle, or Triangle). Then calculate the area of that shape. „h If the user enters another character the program should print: You should ...

Programming logic design
Design a class named DVD that has fields for the DVD category , tittle and price include methods to set and get the value for each field write pseudocode that definnes this class.

programming principles
Calculation of tax in Uzapia The United Nations have just recognised a new country called Uzapia. Uzapia has a currency called Zubies (ZB). The Uzapian tax system is highly simplified and meant to be fair. They have system where all their income is converted to one single ...

programming ( qbasic)
rem prints fibonacci series cls a=2 b=1 for p = 1 to 5 print a print b a=a + b b=b + a next p end I have done this program. How do you do it using modular programming.. FUNCTION...END FUNCTION???? I tried but it didn't work

Linear Programming-Investment Strategy Invest at most \$90,000 in securities in the form of corporate stocks. Options into three groups of stocks: blue-chip stocks will yield 3% return (dividends and capital appreciation) within a year, growth stocks will yield 10% return ...

intro to computer programming
I need help with my Java homework! Write a program that calculates a customer's monthly bill. It should ask the user via dialog box to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the ...

programming ( qbasic)
i was given this program by my teacher. it converts decimal number to binary number.. Why is that FIX kept in front of (n/2) ...6th line of the program. why is that FIX written and why? i didn't get it CLS INPUT “ENTER A NUMBER”; N WHILE N <> 0 A = N MOD 2 B\$ = STR\$(...

Programming
Write a program that inputs (from the user) the number of hours worked and hourly rate for employees and outputs the total pay. The program should process an arbitrary number of employees; the user will terminate input by entering 0 hours worked and pay rate. Use a class ...

Programming
Name Hours per day John 5 6 4 7 8 Jack 7 3 5 7 4 Jill 2 9 4 3 5 James 6 6 2 4 5 Jacob 5 6 6 3 3 Jeremy 5 5 5 8 8 Jim 8 8 4 7 4 Jerry 6 4 5 6 7 Jamie 3 2 6 7 4 If worker payment is \$6.50 per hour, write methods to calculate: Average Working hours for every Worker -> Return ...

Programming
Name Hours per day John 5 6 4 7 8 Jack 7 3 5 7 4 Jill 2 9 4 3 5 James 6 6 2 4 5 Jacob 5 6 6 3 3 Jeremy 5 5 5 8 8 Jim 8 8 4 7 4 Jerry 6 4 5 6 7 Jamie 3 2 6 7 4 If worker payment is \$6.50 per hour, write methods to calculate: Average Working hours for every Worker -> Return ...

Computer programming
(Simplified Water Bill Computation) The bill for a water service subscriber is prepared as follows: 1. The name of the water consumer is entered 2. The previous water meter reading in cubic meters (reading last month) from the consumer’s meter is entered. 3. The present ...

Programming
Create and test a Visual Basic application to allow teachers to enter student results. One dimension of the array will hold the results for up to 10 students. The other dimension will hold up to 5 subjects. Additionally a string based array will hold the names of the subjects...

Computer programming
I am trying to write a program in C that would be used by a car rental company. This program finds the subtotal, tax amount(6%) and finally the total. The user enters in how many days the car was rented and how many miles were driven. The total is based on this logic. The cars...

intro to computer programming
Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a loop to ask the user how many orders they need ...

C++programming
Write an interactive C program that will accept each student’s name an exam grades as input, determine an average grade for each student, and then display the student’s name, the individual exam grades and the calculated average. The program should allow for unequal ...

programming in basic
1 If four statements are entered with the same statement number, the computer will accept the ______ statement with the duplication statement number

Programming
MyGoods sells Laptop, Printer, VGA cable and HDMI cable. The prices are as below: Items Price (RM) Laptop 2500.00 Printer 450.80 VGA Cable 20.65 HDMI cable 80.20 Write a program that allows the user to enter the total of item they wish to buy for each item. The program then ...

Programming
using c++ write a program that accepts the unit weight of a bag of coffee in pounds and the number of bags sold and display the number of bags sold ,the weight per bag price per pound sales tax and total price of the sale.the unit of a bag of coffee is valued as \$5.99 pound ...

Computer Programming
Your city's Parking Violation Bureau wants you to write a program to compute fines for parking violations. There are four types of violation: type A carries a fine of \$10, type B carries fine of \$20, type C carries a fine of \$30, and type D carries a fine of \$50. The program ...

programming in basic
1 If four statements are entered with the same statement number, the computer will accept the ______ statement with the duplicate statement number first second third fourth 2 ______ is a valid BASIC number? 567890100 200,000 \$65 1.05E+09 3 Data provided using the ______ ...

Math help
Formulate a linear programming problem for the following situation. Homer Simpson has created two donut assortments for the the Springfield donut shop. The bargain assortment includes 4 pink frosted and 8 glazed donuts and the deluxe assortment contains 9 pink frosted and 3 ...

Career
4. Scott just started a new job that requires many of the same organizational and communication skills as his last job. These skills are Scott's: Big Five. Career types. Transferable skills. *** Type indicators. 13. All of the following traits contribute to your Myers-Briggs ...

Career
13. All of the following traits contribute to your Myers-Briggs type, EXCEPT: (1 point) A.)agreeing–disagreeing. B.)introversion–extroversion. C.)judging–perceiving. D.)thinking–feeling. 14. Luisa has started up four different companies and served as the top manager of...

math
A company makes two products , namely X and Y. Each product must be processed in 3 stages; welding , assembly and painting. Each unit X takes 2 hours in welding, assembling 3 hours and 1 hour in painting. Each unit Y takes 3 hours in welding, 2 hours assembling and 1 hours in ...

Programming
The Parasol Insurance Group sells a variety of insurance policy types. Design a flowchart for a program that accepts a client’s name and “Y’ or “N’ string answers to questions about whether the client wants each of the following policy types: homeowners (\$800 ...

programming ,object oriented
The Parasol Insurance Group sells a variety of insurance policy types. Design a flowchart for a program that accepts a client’s name and “Y’ or “N’ string answers to questions about whether the client wants each of the following policy types: homeowners (\$800 ...

Object oriented programming
The Romance World Cruise Line provides special gifts for passengers who are newlyweds, as well as for those who have been married more than 40 years. Design a pseudocode for a program that accepts a couple's last name, ship cabin number, and number of years married. Display a ...

computer programming
Write a C++ pogram for the following Employee Name and 12 months’ salary. Salary starts with \$5000 per month and increments every month by 10% of previous month salary. At the end of the year, the employee is paid a 5% bonus on top of the yearly salary. Compute the ...

Programming
The Romance World Cruise Line provides special gifts for passengers who are newlyweds, as well as for those who have been married more than 40 years. Design a pseudocode for a program that accepts a couple's last name, ship cabin number, and number of years married. Display a ...

Java Programming cpt167
SPECIFIC DIRECTIONS The cabin specifics: it’s still a simple rectangular structure, but now you’re only concerned with the walls—we’ll just forget about the ceiling for the rest of our planning exercises. You’ll still need to request the users name, length of the ...

c++ programming
Aiden Nelinski is paid every Friday. He is scheduled to receive either a 2% or 2.5% raise next week. He wants a program that calculates and displays the amount of his new weekly paid.The current pay must not exceed RM 50.00 and if user enter larger amount, display an error ...

IT
Do the planning and write algorithm to solve for following problem. There are 15 pupils in the Introduction to Programming I module. The age of every student is entered in years and months. Convert the age into months to calculate the average age. Display the ans

Computer Programming
2. Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart or pseudocode for a program that accepts a candy name (for example, "chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month. Display a message ...

computer programming
Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of R700, except the employees in the coffee ...

programmimg
There are 15 pupils in the Introduction to Programming I module. The age of every student is entered in years and months. Convert the age into months to calculate the average age. Display the answer (average age) in years and months on screen.

c++ programming
Write a C++ program for an amusement park to display the bill for the cashier. The pricing schedule is as follows: Category Price Children \$ 10.00 each Adults \$ 20.50 each

math 540
12) Betty Malloy, owner of the Eagle Tavern in Pittsburgh, is preparing for Super Bowl Sunday, and she must determine how much beer to stock. Betty stocks three brands of beer—Yodel, Shotz, and Rainwater. The cost per gallon (to the tavern owner) of each brand is as follows...

llinear programming
Mountain Laurel Vineyards produces three kinds of wineMountain Blanc, Mountain Red, and Mountain Blush. The company has 17 tons of grapes available to produce wine this season. Acask of Blanc requires 0.21 tons of grapes, a cask of Red requires 0.24 tons, and a cask of Blush ...

Programming
This question is about football matches between teams. A record of games played between teams is stored in a graph G. Each edge in the graph corresponds to a match between a pair of teams. For example, if there is an edge between vertices 3 and 6 then Team 3 has played a match...

Mathematical Economics and Linear Programming
Using the quotient rule, find the derivation of the following function: a) (ax^2+b)/(cx+d) Here is my work but i need help because am lit bit confuse solution a) (ax^2+b)/(cx+d) df/dx = (2ax)(cx+d)-(ax^2+b) (c)/(cx+d)^2 df/dx = 2acx^2+2adx-acx^2+bc/(cx+d)^2 df/dx =acx^2+2adx+...

computer programming
Boardman College maintains two files—one for Sociology majors and another for Anthropology majors. Each file contains students' ID numbers, last names, first names, and grade point averages. Each file is in student ID number order. The college is merging the two departments ...

Object Oriented Analysis and Design
3. As the head of information system, you are tasked with developing a new Client Technology Tracking System (CTTS). Coastline Systems Consulting is a provider of managed computer networks and web services located in Destin, Florida. The staff of seven IT technicians, web ...

Math - linear programming
1)An electronic repair shop has 5 vacum cleaners, 12 tv sets, and 18 vcrs to be repaired. The store employs two part time repairmen. One repairman can repair at least one vacum cleaner, three tv sets and three vcrs in 1 week. While the second repairman can repair at least one ...

Math
Suppose that a graphing calculator is programming to generate a random natural number between 1 and 10 inclusive . What is the probability that the number will be prime?

Computer Programming
I already posted this question but I gave it a try I'm not sure if I'm on the right track: Make a util class with three methods. First method's name is add, that returns the result by adding two numbers. Second method's name is multiply, that returns the result by multiplying ...

Computer Programming
I already posted this question but I gave it a try I'm not sure if I'm on the right track: Make a util class with three methods. First method's name is add, that returns the result by adding two numbers. Second method's name is multiply, that returns the result by multiplying ...

Computer Programming
How do I make a util class with a method name that is add, and returns the result by adding two numbers.

Computer Programming
I posted this question before: How would I put this into one program? These are the directions: Write a method that takes two parameters. If the first parameter is equal to second parameter. Multiply both and print result. If the first parameter is less than the second ...

Finite
Linear programming A candy merchant sells two variety bags of cookies. Each pound of variety X contains 60 % chocolate chips and 40% raisin bran and sells for \$ 8.00 a pound. Each pound of variety Y contains 45% of chocolate chips and 55% raisin bran and sells for \$ 10 .00 a ...

programming ( qbasic)
I am stuck in this question. I don't know how to proceed The question ? If A=1 , B=2 ,C=3 , D=4, E=5 ........................................​... then print the sum of the user entered word .. ( if the user enters ABC, then the output must come :" 6 " .. (because 1 + 2...

computer programming
HotelRoom class programming . Replace Disply_Number() and Display_Guest() methods by the methods Get_Number() and Get_Guest(), respectively , so that each returns a pointer to the corresponding instance variable. Recode main() as necessary .

C programming
1. A 1-D array is started with which symbol?

programming ( qbasic)
Write a program in qbasic to print the user entered word in reverse order using FUNCTION...END FUNCTION

programming logic and design
need help on creating a logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation

JAVA PROGRAMMING
im new to java and this is my first assignment can anyone help me solving it: compile the class final grades, based on the students’ scores obtained in the classwork, mid-term, and final exams. According to the course syllabus, the classwork accounts for 65%, the mid-term ...

programming concepts
Mr. Jones always gives True/False tests to his class. His tests always have 20 ques- tions. The maximum class size is 35. He needs a program that will calculate the stu- dents’ grades based on the best score. Grade A will range from the best score, to the best score minus 2...

programming concepts
Mr. Jones always gives True/False tests to his class. His tests always have 20 ques- tions. The maximum class size is 35. He needs a program that will calculate the stu- dents’ grades based on the best score. Grade A will range from the best score, to the best score minus 2...

c programming , computer science
1-Write a program that determines the day number (1 to 366) in a year for a date that provided as input data. As an example, January 1, 1994, is day 1. December 31, 1994, is day 365. December 31, 1996, is day 366, since 1996 is a leap year. A year is a leap year if it is ...

INTRO PROGRAMMING
Celsius to Fahrenheit Table Design a program that displays a table of the Celsius temperatures 0 through 20 and their Fahrenheit equivalents. The formula for converting a temperature from Celsius to Fahrenheit is F = 95 C + 3 2 where F is the Fahrenheit temperature and C is ...

C++ Programming
I am so bad at programming and after this class I am done with it and changing my program! I don't even know where to start! It says demonstrate array of Struct,2 dimensional arrays and sorting routine. A trucking company charges the customers a fixed amount per pound, based ...

programming
Using python write a program that does the following: •Create the logic for a program whose main() method prompts a user for 1000 numbers and stores them in a list. •Pass the array to a method that reverses the order of the numbers. •In the main program, display the ...

Programming logic and design
Using python write a program that does the following: •Create the logic for a program that calculates and displays the amount of money you would have if you invested \$3000 at 2.65 percent interest for one year. •Create a separate method to do the calculation and display ...

programming
Design a program that calculates and displays the amount of money you would have if you invest \$5000.00 at 2 percent simple interest for one year. call a function and pass the needed data to do the calculation and return the result

basic programming
EVALUATE the following expressions NOT K OR L AND D + C = A NOT 3 OR 2 AND 12+12 = 7 D = true K = false C = ture

Programming
EVALUATE the following expressions A + S <> (D + K) * 4 =7 + 5 <> (12 + 3) * 4

programming
Write a Java application that computes and prints the grade of a student according to the following algorithm: 1) It should read from the user TMA score and MTA score. 2a) If their sum is less than 15, the grade "FC" should be printed and the program will stop. 2b) Otherwise, ...

ICT (Programming)
Design program logic that receives the letter grades for 4 subjects and then based on the grades, calculate the total grade point. The program should use IF statements to determine the grade point corresponding to the letter grade (as given in the table below). Once all the ...

ICT (Programming)
Based on the table below, Based on the table below, using a CASE structure to display the type of designation when a specific code is entered. CODE TYPE OF DESIGNATION L LECTURER S SENIOR LECTURER D DEAN A ADMINISTRATION (other code) WRONG CODE ENTERED! 4. Student is required ...

1. Pages:
2. <<Prev
3. 1
4. 2
5. 3
6. 4
7. 5
8. 6
9. 7
10. 8
11. 9
12. 10
13. 11
14. Next>>