# Programming Languages

Basic programming principles
If the value of K is equal to 6, increase the value of A by 5%, if the value of K is equal to 4, decrease the value of A by 8, if the value of K is equal to 7, add the value of B to the value of A, otherwise decrease the value of A by 12%Will the following statement be correct...

Basic programming principles
Piet earns R20 per hour, if he works more than 30 hours then he receives an extra R8 per hour, will the following statement be correct or incorrect (only type in correct or incorrect at your answer space)If hoursworked > 30 then Salary = salary + (hoursworked – 30) + 8

Basic programming principles
Study the following codeC = A * B + 7 mod 3 If A > C then Display “A has a higher value that C” B = A – C Else Display “A is equal to or less than C”B = C – AEndifDisplay “the value of B is now “, BDisplay “the value of C is now”, C What would be ...

Basic programming principles
Piet earns R20 per hour, if he works more than 30 hours then he receives an extra R8 per hour, will the following statement be correct or incorrect (only type in correct or incorrect at your answer space) If hoursworked > 30 then Salary = salary + (hoursworked – 30) + 8

Basic programming principles
Is the following true or false? A * 3 >= B – 14 \ 3 AND F OR C <= D + 3 Where A = 5, B = 7, C = 12, D = -4, E = TRUE and F = FALSE

Basic programming principles
Is the following true or false? b + c <> (d + e) * 4 where b = 4, c 20, d = 4 and e = 17

PROGRAMMING
Create a C program that contains a function that computes the final price for a sales transaction and return that value to a calling method. The function requires three arguments: product price, salesperson commission rate and customer discount rate. A product final price is ...

PROGRAMMING
1. Make a C program that will input two integers and then to enter an option as follows: • 1 = to add the two integers. • 2 = to subtract the second integer from the first. • 3 = to multiply the integers • 4 = to divide the first integer by the second integer. Display ...

PROGRAMMING
Make a C program that will generate the output below using the function that will pass the value into the function. 1 4 16 25 36 49 64 81 100

PROGRAMMING
Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number( multiplies is by itself) and to another function that cubes the number ( multiplies by itself twice). The main method ...

computer science
Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a program by using any programming language of your...

programming
A local recording studion rents its facilities for \$200 per hour. Management charges only for the number of minutes used. Create a project in which the input is the name of the group and the number of minutes it used the studio. Your program calculates the appropriate charges...

PRINCIPLE OF PROGRAMMING LOGIC & DESIN
Draw a flowchart and write a pseudocode of a program that allows the user to input their income amount The tax structure for the year where as follws Income is less than M27.730 per annum[M2.310.83 per month]does not pay tax between M27.730 per annum [M2.310.83per annum]and ...

programming
You are to write a short C program. The program will input two numbers: 1) number of miles to ship a package, and 2) the weight of the package. You are to computer the price to ship the package. The formula is as follows. If the weight of the package is <= 10 pound this the...

programming
write a programe which calculate the number of five subjects also show the average and grade of the desire total.

programming
create a program using java that calculates the current grade in a classroom. the program should ask for 5 grades as well as the total point value per grade available.

JAVA PROGRAMMING
Create a java program that will calculate the current grade in a classroom. The program should ask for 5 grades as well as total point value per grade available.

Linear Programming
We produce two products: product 1 and product 2 on two machines (machine 1 and machine 2). The number of hours of machine time and labor depends on the machine and the product as shown in Table 64. The cost of producing a unit of each product is shown in Table 65. The number ...

programming
write a program that performs a survey tally on vehicle. The program should prompt for the next person until a sentinel value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite from the following list-toyota,nissan,...

programming
write a program that performs a survey tally on vehicle. The program should prompt for the next person until a sentinel value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite from the following list-toyota,nissan,...

programming
steps in java programming

programming
how to design a pseudo code

C Programming
how do i write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and total sales per month. The highest and lowest ...

C Programming
Write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and total sales per month. The highest and lowest sales ...

programming
write a C++ program to read the data from a file and put in a 2d array. This data contains the details of each sales person records. After the details are read and inserted, now calculate the grand total of each sales person and find out the sales person of the month.

C programming
I am suppose to create a code that uses the pow function in math.h to calculate the hyperbolic cosine when the user inputs an angle x. the equation I have to use is cosh x= e^x + e^-x /2 can someone check my code. I am not sure what i am doing wrong. do I have to declare the ...

Computer Programming
Need Python pseudocode and 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. Software co. sells a pkg that retails for \$99. Quantity ...

programming
Assume the input to be the charge for the food, draw a flowchart that will compute the total amount of a meal purchased at a restaurant. The output should be the charge for the food, the amount of a 15 percent tip, the amount of the 7 percent sales tax (on the charge for the ...

Applied Programming
APPLIED PROGRAMMING (APR520S) ASSIGNMENT 1 Problem Solving Tools Total Marks: 50 Marks Due: Friday 22 August 2014 Suppose we want to construct a C/C++ program that can be used to calculate the area or the volume for a range of 2-D and 3-D shapes respectively. Consider only the...

Programming
In pseodocode, create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Pass both values to a method that displays the amount you must save per month to achieve your goal.

programming
Write a c proram to find rhme words ? So, how to do it and i need a database dictionary to read from..

programming
can you write a psedo code to enter daily rainfall values. for the month of april. into an aray and to output maximum ,minimum,and average rainfall values for the month

Programming Logic and Design
This is my 3rd time posting this problem because I didn't get any help before...assistance would be appreciated. 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...

Programming
Thanks for the help on my last problem! I have one more thing I need help with... 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 ...

visual basic programming
Write a Visual Basic program that will calculate the assessment marks of a student taking the Computer Programming subject in College. The program must be able to determine the total result and finally display the grade of that student. The program will also ensure that each ...

Programming
Thanks for the help on my last problem! I have one more thing I need help with... 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 ...

Programming
Create the logic for a program whose main() method prompts a user for 1000 numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. In the main() method, display the numbers.

Programming concepts
Develop a menu-driven program that inputs two numbers and, at the user’s option, finds their sum, difference, product, or quotient. top-down modular approach and pseudocode to design a suitable program to solve it. I am having so much trouble with this I got two zeros ...

programming
Professor Merlin has asked you to help him. He has 5 students who have taken four tests. He wants a program where he can enter the students name and their four test scores. After entering all 5 students then he wants a grade report printed showing the student name and their ...

programming
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 ...

programming
write a program of a main module and three other modules. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee’s net pay. The input for this program is an employee ID number, hourly ...

programming logic and design
I need help writing pseudocode for this problem: Design a retirement planning calculator for skulling financial services • Allow a user enter a number of working years remaining in the user career and the annual amount of money the user can save • Assume that the user ...

programming
write a program that creates a list of employees objects of size n entered from user using list interface and a list class implementation and display all employees in list and print employee name with minimum salary and remove employee with minimum salary from list and print ...

c# programming
Trying to create a program using following algorithms. JumpSearch(list,lower,upper,jump,x) {Look for X in List[lower ... upper]. Report its position if found, else report 0. List is sorted in increasing order. upper>=lower>0; upper-lower+1>=jump>=1.} index = lower...

programming
create a program that will do the following: 1. ask the user to enter the names of 5 products 2. the buying and selling price of the 5 products 3. the expense of each type of product(percentage of buying price) task- calculate the gross profit and net profit and project it

APPLICATION PROGRAMMING
Write a formular on aprogram to generate the following patterns

C# programming
how to write c# program that will calculate for the average of positive integer inputs from 0 to n. Also determine the number of input for numbers that are greater than 10, 30, 50, 70, and 90.

programming
10. Develop a C++ program that accepts the name of a person and then counts how many vowels the person’s name have.

programming oop
I need a help regarding this. Compute and display the sum o 1st and 2nd number, Difference of sum and 3rd number, product of difference and 4th number, Quotient of product and 5th number using Eclipse Helios. My subject is OOP

programming
I need a help regarding this. Compute and display the sum o 1st and 2nd number, Difference of sum and 3rd number, product of difference and 4th number, Quotient of product and 5th number using Eclipse Helios. My subject is OOP

programming
Temp Employer wants a program that will allow the company’s clerk to enter an employee’s name and the number of hours the employee works every month. (The number of hours worked will always be an integer). The program will display the name, numbers of weeks(assume a 40-...

Computer programming?
What is jsp structures regrading to computer programming?

Computer Science!!!! Help!!!
The book is not doing anything for me. Anyone know where I can find step by step tutorial of this? Specifically for Visual Basic 2012? And not just a simplified version, I mean EXACTLY how to do this. I have been looking through YouTube, my textbook (An Introduction to ...

programming
1. Assume there are n-tyres that could be used by car, tricycle and bicycle. Write an algorithm to accept n-tyres and generate all the combinations of cars, tricycle and bicycle that would exhaust the n-tyres. 2. Assume S is a string of lower case charcaters, write an ...

computer programming
1. Scanf 5 names of you and your friends 2. Printf hi to all of them. 3. Ask all of them for their ages. 4. Printf the information in tables as shown below. Name age StudName1 19 StudName2 20 StudName3 18 StudName4 34 StudName5 12 5. Use selection statement to do the following...

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

Programming Concepts
Can someone please explain to me how I can get the solution for this question. Use the top-down modular approach and pseudocode to design a suitable program to help you solve this problem. Whenever appropriate,validate the input data. Find the sum of the squares of the ...

Java Programming
How to create a two dimensional arrays that stored the score of 3 subjects of 2 semesters, and score will added by users and program should do - Calculate the average scores of each semester - The maximum score of each semester - The mininum score of each semester

programming
1. Suppose that you want to search for a friend, ‘S’, telephone number in a phone book. List the steps taken if you use binary search. Illustrate with the list of alphabets ignored during the search by crossing them. (Example – Step 3 – Ignore letter A to C [...

programming
Consider the following situation - checkout line in a counter. The details are shown as below: i. One check-out line ii. The serving time for every customer is one minute but they may have to wait in line before being served iii. The customers between zero and five will join ...

programming
Suppose that you can select the pivot of the quick sort algorithm with three methods: you can select the first item, last item, or middle item as the pivot. Indicate the method(s) that gives the most efficient result to sort the following arrays. Note that you MUST indicate ...

programming
Consider the following input and output: INPUT: (((5 + 1) – (7 – 4)) / (11 – 8)) OUTPUT: 5 1 + 7 4 – – 11 8 - / 2.1. What variables do you need to consider for the input? 2.2. Describe in English, step by step, the algorithm that transforms the given input into the ...

computers - Programming
Create a program that uses two parallel one-dimensional arrays. The program displays a shipping charge that is based on the number of items ordered by a customer. The shipping charge scale is shown in Figure 1 below. Store the maximum order amounts in a one dimensional int ...

English
Identify the sentence that is punctuated correctly. A. Researchers know little about the distinctive market behavior of that group. B. Website programming systems have existed for some time but, they originally were difficult to use. C. In connection with the tax cut, we are ...

Programming
Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient.

Computer Programming I
Following is my Project 2. In Project 1, I wrote a program to draw square, rectangle and triangle and this is its second part. I could not figure it out how to do it. Any guidelines and suggestions would be highly appreciated. Project 2: Our customer was pleased with the ...

Programming
Write a function that takes one positive integer value (call it n) as a parameter and produces the sum of the integers between 1 and n. Hint: The sum of the integers from 1 to n is n*(n+1) all over 2 I know this is how the function should look but I am unsure of how to write ...

sociology
Professor Winston is explaining to his class that people who watch more hours of violent television programming also show greater levels of hostility and violence toward others. He continues to say that this means violence on television causes increased hostility and violence...

programming
Using Dynamic memory allocation demonstrate how to resize an array of integers in c++

programming
Explain the term "dynamic memory allocation" in C++? Please explain it in such a way i will understand it

programming
How can memory leak occur in c++

programming
in c++ how is memory allocated on the heap

Computer Programming
Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in four sections of his medieval literature course and then determine how many ...

introduction to programming
Write a program to find the sum of the series: 1/12+1/22+1/32+…..1/n2.

programming
create a c++ code that will set first the number of the student to be entered then get the name and their grades, After that display the name, grades & remarks of the student using arrays

Programming Logic & Design
Modify the previous process to store the scores in an array. You will need to use either parallel arrays or a two-dimensional array in order to store the score, slope and rating for each entry. In the loop you created in the previous assignment to read the 10 scores, add logic...

PROGRAMMING
design a program for the following. Registration workers at a conference for authors of children's book have collected data about conference participants, including the number of book each author has written and the target age of their readers. The participants have written ...

C++ Programming
Create a class that holds robot warriors. Each has a string for their name, a number of hit points (an float), armor (a defensive modifier(an int)), and weaponry (an offensive multiplier(another int)). You will create 5 robots with a random number in each category (500 – 100...

programming
The output should look similar to the following layout: Course Start time End time Gender Name yellow 10:45:00 12:35:13 F Jasmine Davies purple 12:51:00 14:11:30 M Mohammed Ahmed

programming
Java program which allows the user to enter data for one competitor and display the data. The output should look similar to the following layout: Course Start time End time Gender Name yellow 10:45:00 12:35:13 F Jasmine Davies purple 12:51:00 14:11:30 M Mohammed Ahmed

programming
a program displays the name of fruits that are sorted from the arrays(program that sort five names)

programming
Write an algorithm to compute average score for each student in the Computer Science Continuous assessment test. Assume each student sat for ten courses for the semester

programming
Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program should store data into two-dimensional ...

C++ Programming
create a class called DataSet. This class will have a default constructor that is empty, but an overloaded constructor that takes an integer argument and creates a vector with that many random numbers in it. For example, if I created: DataSet d1 = new DataSet(500); ...it would...

programming
Create three (3) one-dimensional arrays: Item Number, Quantity-on-hand and Unit Cost for 15 items. Input data into all the arrays. After the data is entered, read an arbitrary number of records containing an item number and quantity-ordered. If the quantity ordered for the ...

computer programming
{Browse {P 42} == 555} {Browse {Q 42} == 777}

computer programming
local X=1 in local X=2 in local X=3 in {Browse X} % (1) end end {Browse X} % (2) end

programming
=42 Z=~3 {Browse X} % (a) {Browse Z} declare Y=X+5 {Browse Y} % (b) declare X=1234567890 {Browse X}

java programming
I have to make two classes, one is to import a file and display the integers in the file. The other class has to take the integers from the first class and use them to calculate things like the average, the highest, the total, and I am completely stumped...please help!!!

programming concepts
Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the shipping cost based on the following schedule: Order Total Ship within USA Ship to Canada Less than \$50.00 \$6.00 \$8.00 \$50.01–\$100.00 \$9.00 \$12.00 \$...

programming concepts
Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the shipping cost based on the following schedule: Order Total Ship within USA Ship to Canada Less than \$50.00 \$6.00 \$8.00 \$50.01–\$100.00 \$9.00 \$12.00 \$...

computer programming
Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient.

programming
Q. How do i make an optical illusion using turtle graphics? Thank you.

Computer Programming
Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in all four sections of his medieval literature course and then determine how many...

programming
The figure shows two unequal point charges, q and Q, of opposite sign. Charge Q has greater magnitude than charge q. In which of the regions X, Y, Z will there be a point at which the net electric field due to these two charges is zero?

programming
using pseudocode debug the following 3 programs // A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) // and number of cans collected // Data is entered continuously until the user wants to quit...

programming(visual basic)
debugging exercise: Private Sub btnItemNumber_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnItemNumber.Click Dim decCost As Decimal Dim intCount As Decimal decCost = Convert.ToDecimal(txtCost.Text) Inventory(decCost, intCount) End Sub Private Sub...

Python programming Language
Assume S is a string of lower case characters. Write a program that counts up the number of vowels contained in the string S. Valid vowels are 'a', 'e', 'I', 'o', and 'u'. For example, if S='azcbobobegghakl' your program should print: Number of Vowels:5

Python programming Language
Assume that there are n tyres that could be used by car, tricycle and bicycle. Write a program to accept n tyres and generate all the combinations (I.e the number) of car(s), tricycle(s), and bicycle(s) that could exhaust the n tyres. Ensure that all the objects have fair ...

computer programming
Assume that there are n tyres that could be used by car, tricycle and bicycle. Write a program to accept n tyres and generate all the combinations (i.e. the number) of car(s), tricycle(s) and bicycle(s) that could exhaust the n tyres. Ensure that all the objects have fair ...

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. 12
15. Next>>