Joel's Electronics company needs a new program to better manage their inventory. They need a report each day that shows what products were sold during the day and the quantity available at that time. Following the PDLC, show how the project should be developed.
Analysis-
Design-
Implementation/coding-
Testing-
Deployment-
pythagorean triplet
Write a C program for File Operations to read a string of characters from standard input and prints the entered string of charatcters using fgetc() and fputc() function. fgetc() is used to obtain input from a file single character at a time. fputc() is used to write a single character at a time to a given file.
Input : good bye
Output : good bye
Input number of rows: 2
Input number of columns: 2
Input value of row 0 and column 0:
Input value of row 0 and column 1:
Input value of row 1 and column 0:
Input value of row 1 and column 1:
SUMMARY:
The sum of column 1 is...
The sum of column 2 is...
The difference of column 1 is ...
The product of column is 1 ....
The smallest element in column 1 is .....
Input
The first line of input consists of an
integer- size 1, representing the size
of the first list (N).
The second line consists of N space-
separated characters representing
the product ID for each product.
The third line consists of an integer-
size2, representing the size of the
second list (M).
The last line consists of M space
separated integers representing the
quantity for each product.
Output
Print a list of size N* M containing the
elements of the list alteggate),
Note
Both of the lists will always have the
same number of elemenos
Example
Input
3
abe
3
123
Write an algorithm to make an automated system which will help the builder to find the exact area for building the apartment
Write a C program to print weight and height of a person using typedef.
Runtime Input :
Weight: 50.5
Height: 7.2
A college has to generate the roll number of the students for the internal examination. The college admin authority has to generate the roll numbers from the registration number of the students. Every student has a registration number. The registration number is a numeric number. The authority has devised a method for generating the roll numbers from the registration number. To generate the roll number, the pairs of adjacent digits are formed from the start of the roll number. From each pair the lexicographically smallest digit will be removed. If a digit will be left unpaired then that digit will be taken as it is in the roll number.
Write an algorithm for implementing
the devised method for the college
system to find the roll number from
the registration number,
Write a C program to perform the arithmetic operation. Here, the preprocessor replaces "printf" in place of "out" and "scant" in place of "in" before compilation of program. Therefore, the word can be defined as macro. Note** #define out printf** #define in scanf.
Input:
6.5
3.3
Output:
9.8
A college has to generate the roll number of the students for the internal examination. The college admin authority has to generate the roll numbers from the registration number of the students. Every student has a registration number. The registration number is a numeric number. The authority has devised a method for generating the roll numbers from the registration number. To generate the roll number, the pairs of adjacent digits are formed from the start of the roll number. From each pair the lexicograpically smallest digit will be removed. If a digit will be left unpaired then that digit will be taken as it is in the roll number.
Write an algorithm for implementing the devised method for the college system to find the roll number from the registration number.