Write a C program for File Operations to read a string from standard input and prints the entered string using fgets() and fputs() function.
Runtime Input :
Hai
Output :
Hai
Given an integer N as a string number and K as input, write a program to print a number pyramid K rows
Create a program that will only require the programmer to change the variable values in order to create a dynamic sentence using the sentence sample Output.
BOLD words indicates a variable.
Sample Output:
-----------------------------------------------------------------------------------
Hi my name is Ryan Christian Nono.
I am 25 Years Old.
I love reading books and watching movies.
My favorite color is `Black` because the sky is white.
I love Programming 2 because of my Instructor.
Write an algorithm to find the special discount given to the customers
Create a program that will only require the programmer to change the variable values in order to create a dynamic sentence using the sentence sample Output.
BOLD words indicates a variable.
Sample Output:
-----------------------------------------------------------------------------------
Hi my name is Ryan Christian Nono.
I am 25 Years Old.
I love reading books and watching movies.
My favorite color is `Black` because the sky is white.
I love Programming 2 because of my Instructor.
Create a program that will only require the programmer to change the variable values in order to create a dynamic sentence using the sentence sample Output.
BOLD words indicates a variable.
Sample Output:
-----------------------------------------------------------------------------------
Hi my name is Ryan Christian Nono.
I am 25 Years Old.
I love reading books and watching movies.
My favorite color is `Black` because the sky is white.
I love Programming 2 because of my Instructor.
Make a C++ program using do while loops that will print this output:
*
**
***
****
*****
Create a function that takes the number of wins, draws and losses and calculates the number of points a football team has obtained so far.
Input
A line containing five integers separated by a space.
1·2·3·4·5Output
A line containing an integer.
4084101Input
A line containing three decimal numbers with two decimal places separated by a space.
1.53·2.25·1.23Output
A line containing the result with two decimal places.
2.80