GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — C_Tut_15 · symbi/Source-Code-from-Tutorials@f0a20cb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • C
    • 15_cProgramming.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎C/15_cProgramming.c‎

Copy file name to clipboard
+30Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
// Even moar math.
3+
4+
#include <stdio.h>
5+
#include <stdlib.h>
6+
7+
8+
int main()
9+
{
10+
11+
int pageViews = 0;
12+
13+
pageViews = pageViews + 1;
14+
printf("Page views: %d \n", pageViews);
15+
pageViews = pageViews + 1;
16+
printf("Page views: %d \n", pageViews);
17+
pageViews = pageViews + 1;
18+
printf("Page views: %d \n", pageViews);
19+
20+
float balance = 1000.00;
21+
22+
balance *= 1.1;
23+
printf("Balance: %f \n", balance);
24+
balance *= 1.1;
25+
printf("Balance: %f \n", balance);
26+
balance *= 1.1;
27+
printf("Balance: %f \n", balance);
28+
29+
return 0;
30+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.