Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
5 views

CCS 1203 Computer Programming Assignment Civil and BEd

The document outlines a C programming assignment for students in the Civil BSc and Bed programs, due on January 30, 2025. The assignment requires writing a program that performs basic arithmetic operations and input/output tasks with specified evaluation criteria. Students are instructed to use appropriate variable names, ensure code readability, and include comments explaining their code.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

CCS 1203 Computer Programming Assignment Civil and BEd

The document outlines a C programming assignment for students in the Civil BSc and Bed programs, due on January 30, 2025. The assignment requires writing a program that performs basic arithmetic operations and input/output tasks with specified evaluation criteria. Students are instructed to use appropriate variable names, ensure code readability, and include comments explaining their code.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CCS 1203: Computer Programming [Civil -Bsc and Bed]

DATE: Jan 24, 2025


TIME: Hand in the assignment on 30th Jan 2025 before the start of the lesson at 11:00 Am

C Programming Assignment (10 Marks)

Topic: Basic Input/Output and Arithmetic Operations

Objective:

This assignment aims to evaluate your understanding of basic syntax, arithmetic operations,
and input/output in C programming.

Instructions:

1. Write a program that performs the following tasks:


o Prompt the user to input the values of two integers and one floating-point
number.
o Perform the following calculations:
 Calculate the sum, difference, product, and quotient of the two
integers.
 Multiply the floating-point number by the sum of the integers.
o Display the results of all the calculations.
2. Use appropriate variable names and data types for your program.
3. Ensure your program includes comments to explain each step.
4. Write clean, readable, and well-indented code.

Evaluation Criteria:

Criterion Marks
Correct variable declarations 2
Proper use of arithmetic operators 3
Correct output format 2
Program structure and readability 2
Comments and documentation 1

You might also like