Question: How to improve a code e.g. If given a particularly rudimentary code like this: #include int main() { printf( * ); printf( * * );
How to improve a code e.g. If given a particularly rudimentary code like this:
#include
int main()
{
printf(" * ");
printf(" * * ");
printf(" * * ");
printf(" * * * ");
printf(" * * ");
printf(" * * ");
printf(" * ");
return 0;
}
How would you as a programmer change this code to make it more efficacious?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
