I have my program until that point and I can't finished, please someone helps me to finish my homework

#include <stdio.h>
 int main ()
{

    int x, y;
    x = 6;
    y = 2*x*x*x+5;

What r u trying to do any ways

maybe just add:

printf("x=%d, y=%d\n", x, y );
}

to finish off your main() routine?

#include <stdio> // stdio is the newer version of stdio.h
int main ()
{

int x, y;
x = 6;
y = 2*x*x*x+5;
cout<<"y is"<<y;

}

#include <stdio> // stdio is the newer version of stdio.h

ITYM <cstdio>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.