Write a program that will input 20 values to array BSIT and to sum up the content of all even index. Print array BSIT and the sum of all even index.
by CodeChum Admin
Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right?
Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!
Company ALPHA wants to devise an Employee Presence Monitoring System (EPMS) to monitor effective working time of an employee. Apart from details such as Emp_ID, Age, address, contact number etc., each employee will have a special counter. First time an employee enters into the office, the counter is set to 1. From then onwards, each time an employee leaves the office premises for tea break or lunch break, and enters back this id is incremented. You can figure out that when this id is odd on a day, he is in the office premises and even when he is out. EPMS also records the number of breaks and total duration of the break in a dayThe organization uses this data to perform the following analytics:
How many employees came today?
Did a particular employee come today?
How often did an employee enter into the office?
Which employee moves out of office most number of times?
Name of the employees who are all out for a particular time period
Who all came within a range of IDs, and how often they entered?
Cambridge institute of Technology needs a Calendar-Events application, designed for a semester. The application should accommodate
16 weeks of duration
Includes 3 test dates with the gap of 6 weeks, 5 weeks, 4 weeks
Last week, it should accommodate lab internals
Other various academic and co-curricular activities.
The application should enable:
Inserting of dates for various activities
Provision to modify the activities, both these activities have to be only by authorized person.
Store the activities in a file to communicate to all the stake holders
On daily basis, the application has to pop-up salient features of that day based on the calendar of event on user machine.
Cambridge institute of Technology needs a Calendar-Events application, designed for a semester. The application should accommodate
16 weeks of duration
Includes 3 test dates with the gap of 6 weeks, 5 weeks, 4 weeks
Last week, it should accommodate lab internals
Other various academic and co-curricular activities.
The application should enable:
Inserting of dates for various activities
Provision to modify the activities, both these activities have to be only by authorized person.
Store the activities in a file to communicate to all the stake holders
On daily basis, the application has to pop-up salient features of that day based on the calendar of event on user machine.
Write a program that will input 20 values to array BSIT and to sum up the content of all even index. Print array BSIT and the sum of all even index.
A company is planning to provide an extra discount to it's customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of unique repeating digits in the order ID. Write a code to find the discount percentile given to the customers.
Develop an application in C for following requirement
Big-Bazaar wants an application for Billing.
Biller will enter the following details
Type of customer ( ‘R’ - Regular, ‘S’ - Special),
Product number,
Product cost per unit (greater than 10) and
Quantity purchased.(between 1 and 100)
Application should not accept any wrong entry other than as specified above.
Discount offered by shopping Mall
Gives 10% discount for Special customers.
If total billing amount is more than 1000, additional 5% discount is applied.
Application should apply all possible discount and Display Final Bill amount
All variables must have meaningful names(readable)
Variables should have proper data-types
Big-Bazaar wants an application for Billing.
Biller will enter the following details
Type of customer ( ‘R’ - Regular, ‘S’ - Special),
Product number,
Product cost per unit (greater than 10) and
Quantity purchased.(between 1 and 100)
Application should not accept any wrong entry other than as specified above.
Discount offered by shopping Mall
Gives 10% discount for Special customers.
If total billing amount is more than 1000, additional 5% discount is applied.
Application should apply all possible discount and Display Final Bill amount
All variables must have meaningful names(readable)
Variables should have proper data-types
Identify a real world problem in the society that can be solved using a computer, define the problem and propose a possible solution.
Problem definition:
Ideal situation-
Current situation-
Consequences-
Proposal-