Question: SET A Write a program to display the output of the following pattern a ) b ) a b c d e f ( up

SET A
Write a program to display the output of the following pattern
a)
b)
a
b c
d e f
(up to 6 rows)
Convert the following Decimals into Octal and Hexadecimal
(i)456
(ii)1230
iii)1928
Add / Subtract the following using their binary values
(i)(-23)+67
(ii)(-43)+(-23)
(iii)
89+(-105)
Write a program to read a line of text and remove the all the vowels in it
Example:
Input: Computer is an electronic device
Output :Cmptr s in tctrncdvc
Write a program to compare two strings S 1 and S 2 without using the built -in - function strcmp()
In preparing the Electricity Bills, the customers are divided into three categories as A, B and C. To calculate bill for the customers, the following conditions are applied:
For A,
For first 50 units, Rate =0
For the next 100 units, Rate =0.75 per unit
For the next 150 units, Rate =1.05 per unit
For above 350 units, Rate =1.75 per unit
For B,
For first 200 units, Rate =1.40 per unit
For the next 300 units, Rate =2.25 per unit
For above 500 units, Rate =3.50 per unit
For C,
For first 250 units, Rate =3.00 per unit
For the next 750 units, Rate =2.25 per unit
For above 1000 units, Rate =5.00 per unit
Additional Tax =0.25** Bill Amount
Write a C Program to read the type of the customer (String), Previous month reading (Integer) and Current month reading (Integer) and to calculate the Bill amount for the Customer.
7. Write a C program that takes the user's name, BITS ID and email from the user. Check if the length of the name contains at least 10 alphabets, BITS ID must contain both alphabets and digits and email contains alphabets, digits, @ and .(dot) symbols. If the conditions are satisfied for the user data, then print you have been successfully registered. Else go back and ask the user to enter the correct details. Validate the data immediately after entering each detail.
8. Write a C program that takes n numbers as input. If the successive number is the previous number or next n
 SET A Write a program to display the output of the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!