Running Your First Programs in C – Part 2

This post begins where Part 1 left off.  Common programs such as calculating area of basic forms and scan inputs to print a result are developed in this post.

1.1- Calculate the diameter, perimeter and the area of a circle in C as follow:

Screenshot from 2017-06-14 11-22-43

1.2.- To run it and testing with integers and float values:

Screenshot from 2017-06-14 11-32-38

2.1- Calculate the semiperimeter, area and validate if the values are sides of a triangle:2.2.- Running and testing the program with different values:

3.1.- Finding the midpoint of a limit line:3.2.- Running and testing the program with different values:4.1.- Calculating the hypotenuse of a right triangle 4.2.- Running and testing the program 5.1.- Calculating the trigonometric functions5.2.- Running and testing the program

Advertisements

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. HPC researcher, a simple mortal, like you!
This entry was posted in FEDORA, GNOME, τεχνολογια :: Technology and tagged , , , , , , , . Bookmark the permalink.

2 Responses to Running Your First Programs in C – Part 2

  1. Pingback: Links 8/6/2017: Chrome 59, Tor Browser 7.0 ~ MCJ™

  2. Pingback: Links 8/6/2017: Chrome 59, Tor Browser 7.0 – Security Newsfeeds

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s