Write a program that displays the outline of a box five characters wide and five characters tall. Use the ‘*’ character for the box outline.
here are my codes:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\n", '*');
printf("%c%8c\n", '*','*');
printf("%c%8c\n", '*','*');
printf("%c%8c\n", '*','*');
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\v", '*');
printf("%c\v\n", '*');
system("pause");
return (0);
}
still it works fine, i can see the outline of the box but together with the character '*' there is an another character annoying me and i dn't know how to remove it. it resembles like the gender symbol for males.