[ CPS 125 / Teaching Assistant ] User Inputs

Please note that this post is for the students in the course in CPS 125 (CPS125 : Digital Computation and Programming), the reason for making these posts are 1) aid the students in the course, 2) to improve my communication skills via writing.

Disclaimer: I was not instructed to write these posts, additionally, I won’t provide any materials directly related to solutions for the assignments.

Introduction

https://gph.is/1Z8bw8m

Hello again! Let's get right into the user input use cases!

User Input

As seen above we can ask the user to put in some sort of input and print out the input right back.

We can even ask for the numbers and sum them up! → Now this concept can be extended to having multiple numbers.

With simple typecast, we can even convert the integers into doubles!

For more information make sure to read the above link!

More information will follow….

Reference

  1. C Type Casting. (2019). www.tutorialspoint.com. Retrieved 4 February 2019, from https://www.tutorialspoint.com/cprogramming/c_type_casting.htm
  2. C Programming/Simple input and output — Wikibooks, open books for an open world. (2019). En.wikibooks.org. Retrieved 4 February 2019, from https://en.wikibooks.org/wiki/C_Programming/Simple_input_and_output

https://jaedukseo.me I love to make my own notes my guy, let's get LIT with KNOWLEDGE in my GARAGE

https://jaedukseo.me I love to make my own notes my guy, let's get LIT with KNOWLEDGE in my GARAGE