Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
90 Introduction to Computational Modeling
$ gcc -Wall summ.c -o summ.out -lm
$ ./summ.out
Enter value of input number: 12.5
Value of input number: 12.500000
Enter value of input number: 10.0
Value of input number: 10.000000
Enter value of input number: 5.5
Value of input number: 5.500000
Enter value of input number: 4.25
Value of input number: 4.250000
Enter value of input number: 133.75
Value of input number: 133.750000
Enter value of input number: 0.0
Value of input number: 0.000000
Value of summation: 166.000000
7.3 Repeat-Until Loop
The repeat-until loop is a control flow structure that allows actions to be executed
repeatedly based on a given condition.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783