Use of Rand in c program
// use of rand function
#include<stdio.h>
#include<stdlib.h>
int main()
{
int i;
for(i=0;i<16;i++)
{
printf("% 10d",1+(rand()%6));
if(i%5==0)
printf("\n");
}
}
I am a recent graduate eagerly looking for new experiences. With a solid foundation in Python, R Programming, SQL, Tableau, and Java, I am well-equipped to tackle diverse technical challenges. I enthusiastically embrace life's surprises, always eager to learn and experience something new. If you have any new opportunities or activities, please invite me—I am excited to explore them!
Comments
Post a Comment