Write a program in C language that calculates the roots of quadratic equation ax 2 +bx+c.
Write a program in C language that print the sum of first and last digit of 7 digit
input number N (5)
[For example if N=98765 the output is 9(First Digit) + 5(Last Digit)=14
Write a program in C programming language that print the following sum of series 1+4+7+10………+N
write a program to check whether a number is divisible by 5 and 11 or not.using the switch statement
You probably are fond of games. This quiz though is not that complicated. You are simply going to work with a point on a screen, and a circle on a screen as well. And let's consider them as the characters in the game. We are going to call both of these characters as Movable objects. Objects are said to be Movable if they can be moved around the screen. The following simple movements are allowed:
public void moveLeft(); // moves the x to the left by 1 unit
public void moveRight(); // moves the x to the right by 1 unit
public void moveUp(); // moves the y 1 unit upward
public void moveDown(); // moves the y 1 unit downward
public void display(); // prints all the info about
create a program that will accept a student name, student grade and will display the name and its equivalent grade.
A nested if is needed to validate the range of grade from 0 to 100 only. Inputted grade outside the given range is invalid input and there’s no grade equivalent. Your program should use nested if to validate the grade input and use the if-else statement to validate the grade options. Your program should have an input part and a display part. In the input part, you will be asked to input student name and student grade. For the output part, you have to display the student’s name and grade as shown in the sample output. The grading system is shown below.
Grading System:
A
94-100
A-
90-93
B+
87-89
B
83-86
B-
80-82
C+
77-79
C
73-76
C-
70-72
D+
65-69
D
60-64
F
59 and below
Write a C Program to implement circular queue using dynamic memory allocation. Set the
initial capacity of the queue as 2. The capacity should double whenever the queue is Full.
Through proper output show insertion, deletion and doubling the size of the queue.
Product Launch Section, Devices (Size < 900px):Devices (Size >= 900px):
Instructions:
Use the image URL's given below.
Background color Hex Code values:
#ffdda9
Text color Hex Code values:
#8e62d9
#ffffff
#334155
(Note: Programming Problem 4 draws directly on Chapter 6, Programming Project 1, page 285.)
Nutritional Associates of New Jersey stresses to their patients the effects of caffeine on the body. After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks an 8-ounce cup of brewed coffee containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. See Figure 6.77 in the Visual Basic text, and write a program to compute the following values:
Suppose the person drinks a cup of coffee at 7:00 a.m. and then drinks a cup of coffee at the end of each hour until 7:00 a.m. the next day. How much caffeine will be in the body at the end of the 24 hours?
Create a Python script which will compute the TOTAL Sales in a Grapes Store. The grapes is sold at 235.75 per kilo. 5% discount is given to customers that will buy 5 kilos and above. Compute also the CHANGE after the customer tendered their money. Format the display with two decimal digits.
Sample Output 1:
GRAPE STORE
No. of Kilos: 3
Total Price: 707.25
Discount: 0.00
Discounted Price: 707.25
CASH: 1000
Change: 292.75
I need the complete coding of this. Thank you