Answer to Question #251377 in C for Samzzy

Question #251377
write an assembly language program that uses 2 dword sized variables, a and b. the variable are initialized before the program starts with the values 6 and 11, respectively. the program will print (using _printf) all the integers between (and including) the two variables, a and b.
1
Expert's answer
2021-10-16T01:43:53-0400
#include <stdio.h>
int a=6;
int b=11;
int main()
{
    for(int i=6;i<=11;i++){
    printf("%d ",i);
}
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS