A project for Computer Programming (2) Course // C language

Fun-programming-project

A project for Course : Computer Programming (2) “ CS181 ” presented to Dr. Abeer Alhujaylan

Team work :

  • Feda mousa
  • leen mohammed
  • mothla mohammed
  • noura ibrahim

C language

First, Study Time:

Since the college told us about the advancement of the final exams date, so you need to design a schedule that helps you to study for five hours a day. Each day you will study five courses. Write a program in C language to design your schedule for the next week, starting from Sunday till Saturday. Also, make the code answer your inquiries about the course that will be studied according to the specific day and time in each time you want to know.

OUTPUT

studytime

Second, Sport time :

Everyone knows the importance of sport in our life, as it helps maintain our health and get rid of life's stress. Walking is the easiest type of sport, so write a program in a C language that helps you finish daily user-defined steps. If you finish your daily steps, the program will print: “Wow, you did a great job!”. If you have not finished your steps, the program will print: “Ooops, you have not finished your daily steps! try tomorrow”.

OUTPUT

sport-time

Third, Play time:

After you finished your study and your daily exercise, you deserve some fun before you go to bed. Let's play the game: "Whoever reaches 20 first is a winner!" The rules of the game are as follows:

o The computer randomly determines who starts playing first.

o The computer randomly determines whether you are allowed to use one or two numbers.

o The player who reaches the number 20 is the winner and is congratulated by typing

the following sentence: “Congratulations! The first / second player is the winner!” As long as you are a programming genius, write a program in C language that simulates the previous game.

OUTPUT

playtime

Finally, Creative time:

Write a C program that asks the user to enter a number and then suggest a meal for him randomly according to the number he entered each time. hints:

  • 1 means breakfast
  • 2 means lunch
  • 3 means dinner
  • 4 means snack

OUTPUT

creativetime

Owner
Similar Resources

Practical exercises for the "Advanced C++" course in 2021/22

Advanced C++ Programming - Practical Part This repository contains practical exercises to accompany the lecture. Based on Material by Alex Hirsch. Gra

Oct 11, 2022

Community-gathered tests for C++ course read in YSDA

Community-gathered tests for C++ course read in YSDA

YSDA-CPP-collective-tests Коллективно собранные тесты для задач с закрытыми тестами из курса C++. Структура Структура этого репозитория соответствует

Nov 1, 2021

Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics About ❓ Want To Start your Open-Source Journey Without Facing Difficulties?,If Yes, Then You Are at The Right Place! 🎯 Don't Know

Oct 22, 2022

Competitive Programming Language MM

MM Language MM Languageは、競技プログラミングのために開発中のプログラミング言語です。 どんなことが可能なのかは、examplesおよびexamples_outputsを参照ください。 まだ開発中の言語であるため、諸々不備があり、コンパイルエラーの行数表示さえまともに出せない状

Aug 22, 2022

the kyanite programming language

Kyanite Kyanite is a small passion-project programming language intended to be light-weight and simple to use. You can read more on the language itsel

Aug 19, 2021

λQ: A Simple Quantum Programming Language based on QWIRE.

λQ λQ: A Simple Language based on QWIRE which can be compiled to QASM. The name λQ means lambda calculus with quantum circuits. This is a term project

Jul 11, 2021

A comprehensive catalog of modern and classic books on C++ programming language

A comprehensive catalog of modern and classic books on C++ programming language

A comprehensive catalog of modern and classic books on C++ programming language

Nov 15, 2022

A minimal, toy programming language implemented in C++ and STL.

od Programming Language Mod (or ModLang) is a minimal, toy programming language implemented in C++ and STL (Standard Template Library) with no other e

Apr 28, 2022

The Scallion Programming Language

--------------------------------- The Scallion Programming Language --------------------------------- Version ------- Here's no version to download,

Oct 17, 2021
University of Bergamo - C++ Dev Course (Computer Engineering) 2021/2022

University of Bergamo - 21012 Dev Course C++ 2021/2022 This git repository contains the source code in C++ language to support the lessons of the C++

Feb 23, 2022
🌼 Homework of Computer Systems: A Programmer's Perspective (3rd Edition) and Autolab solutions of CMU 15-513: Intro to Computer Systems
🌼 Homework of Computer Systems: A Programmer's Perspective (3rd Edition) and Autolab solutions of CMU 15-513: Intro to Computer Systems

Exercisebook of Computer Systems: A Programmer's Perspective, 3/E (CS:APP3e) CS:APP3e is written by Randal E. Bryant and David R. O'Hallaron, Carnegie

Sep 18, 2022
Repository for the Object-oriented programming course for academic year 2020/21

Object-Oriented Programming 2020/21 Repository for the Object-oriented programming course for the 2020/21 academic year. Structure exam -- tasks given

Oct 21, 2021
Modern C++ Programming Course (C++11/14/17/20)

Modern C++ Programming Course (C++11/14/17/20)

Nov 17, 2022
Programs and my Notes from the course: "Beginning c++ Programming - From Beginner to Beyond" by Dr. Frank J. Mitropoulos

Project Info Technology Stack Linux (Arch) Visual Studio Code GCC 11.1.0 (since GCC 11.1 the default target is gnu++17, a superset of C++17) Source Ud

Oct 22, 2021
Series of C algorithms written (by myself) during the C programming course

C Algorithms (Work in Progress...) Basic function Bolletta Tabella caratteri di escape Selection (if) Broker Calcolatrice Verifica della validità di u

Mar 9, 2022
Programming Language T#. Compiled language. In development.

Programming Language T# WARNING! THIS LANGUAGE IS A WORK IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! $ make func main() {

Feb 1, 2022
T# Programming Language. Interpreted language. In development. I will make this compilable later.

The T# Programming Language WARNING! THIS LANGUAGE IS A WORK IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! Install Install $ make

Jun 24, 2022
Problem Solving Ability Skills Course

It is complete course on Competitive Programming & discussed optimal solution for each problem in live session. In this course, I am also taking your

Apr 25, 2022
It contains the codes of the algorithm 101 course carried out at Galatasaray University.
It contains the codes of the algorithm 101 course carried out at Galatasaray University.

IEEE-GSU-ALGO-101 It contains the codes of the algorithm 101 course carried out at Galatasaray University. Il contient les codes du cours algorithme 1

Jul 8, 2022