Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RBuch_4_uebung275_21_04_2020.cpp
- Revision:
- 3:8a00b98a9f58
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RBuch_4_uebung275_21_04_2020.cpp Tue Apr 21 17:42:28 2020 +0000 @@ -0,0 +1,29 @@ +/****************************************************************************** +/****************************************************************************** +#275 +Erstellen Sie ein Programm, welches das kleine Einmaleins in der Form +1 2 3 4 5 6 7 8 9 10 +2 4 6 8 10 12 14 16 18 20 +3 ... +. +. +. +10 20 30 40 50 60 70 80 90 100 +ausgibt. + +*******************************************************************************/ + +#include <iostream> +using namespace std; + +int main(void) +{ + for (int i=1; i <11; i++) + { + for (int x=1; x <=10; x++) + { + printf ("%4d ", i*x); + } + cout << "\n" << endl; + } +}