hello this code seems to give me wrong results and i carnt figure out why :(
#include <iostream>
int main() {
float pi = 3.142;
char area;
float diameter;
area = diameter * pi;
std::cout << "Hello. Please imput the diameter of your circle... ";
std::cin >> diameter;
std::cout << "The area of your circle is " << 'area' << ".\n";
std::cin.get();
return 0;
}