Scanf and Printf

#include <stdio.h> // for printf and scanf
#include <stdlib.h>// for atof


main()
{
float num1, num3;
int num2;
char num_string1[8];
char num_string2[8];


printf("Please enter a float : ");
scanf ("%s", &num_string1);//23.6789 (this number is entered as a string)
num1 = atof(num_string1);// converting the string to a float.
printf("Please enter an integer : "); // 234
scanf ("%s", &num_string2);
num2 = atoi(num_string2);// converting the string to an integer.
printf("%s****%4.2fAA%5.1f$$$%6i!!!\n",num_string1,num1,num1,num2);
num3 = num1 + num2;
printf("AAA%5.3f%6.0fZZZ%3i\n",num3,num3,5);
return 0;
}

/*
Please enter a float : 23.6789
Please enter an integer : 234
23.6789****23.68AA 23.7$$$ 234!!!
AAA257.679 258ZZZ 5
*/