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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!