You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
421 B
C++

#include <stdio.h>
#include <iostream>
#include <typeinfo>
int aufgabe_1() {
int i = 1;
int a = 5; int b = 2; double c = b;
auto z1 = a * b - - - - - - 12.0f;
std::cout << "type of " << i << ": \t" << typeid(z1).name() << std::endl;
std::cout << "value of " << i << ": \t" << z1 << std::endl;
return 0;
}
int main() {
std::cout << "Hallo Welt" << std::endl;
aufgabe_1();
return 0;
}