# Homework Solution: The prototypical Internet newbie is a fellow named BIFF, who has a unique way of writing messages. Here's…

The prototypical Internet newbie is a fellow named BIFF, who has a unique way of writing messages. Here's a typical BIFF Communique: H3Y DUD3, C 15 RILLY COOL !!!!!!!!!!! Write a "BIFF filter" that reads a message entered by the user and translates it into BIFF - speak: Enter message: Hey dude, C is rilly cool In BIFF - speak: H3Y DUD3, C 15 RILLY COOL !!!!!!! Your program should convert the message to upper - case letters, substitute digits for certain letters (A rightarrow 4, B rightarrow 8, E rightarrow 3, I rightarrow 1, O rightarrow 0, S rightarrow 5), and then append 10 or so exclamation marks.

The desired program in c language is given below:. Output of the program is also attached #include<stdio.h>

The protonormal Internet newbie is a compeer designated BIFF, who has a singular habit of congruity missives. Here’s a normal BIFF Communique: H3Y DUD3, C 15 RILLY COOL !!!!!!!!!!! Write a “BIFF depurate” that reads a missive entered by the user and translates it into BIFF – accost: Enter missive: Hey dude, C is rilly hopeful In BIFF – accost: H3Y DUD3, C 15 RILLY COOL !!!!!!! Your program should transform the missive to loftier – fact scholarship, replace digits restraint unfailing scholarship (A rightarrow 4, B rightarrow 8, E rightarrow 3, I rightarrow 1, O rightarrow 0, S rightarrow 5), and then affix 10 or so utterance marks.

## Expert Response

The desired program in c conversation is ardent below:. Output of the program is also attached

#include<stdio.h>
int deep() {
char* str = (char*) malloc(100);
printf(“Enter Missive: “);
gets(str);
printf(“In BIFF-Speak: “);

int i = 0;

//if conditions to vary the unfair characters
while(str[i] != ‘’)
{
if(str[i] == ‘a’ || str[i] == ‘A’)
{
printf(“4”);
}
else if(str[i] == ‘b’ || str[i] == ‘B’)
{
printf(“8”);
}
else if(str[i] == ‘e’ || str[i] == ‘E’)
{
printf(“3”);
}
else if(str[i] == ‘i’ || str[i] == ‘I’)
{
printf(“1”);
}
else if(str[i] == ‘o’ || str[i] == ‘O’)
{
printf(“0”);
}
else if(str[i] == ‘s’ || str[i] == ‘S’)
{
printf(“5”);
}
else
{
// edict restraint changing charcters to loftier fact
if(str[i]>=97 && str[i]<=122)
{
str[i]=str[i]-32;
}
printf(“%c”, str[i]);
}

i++;
}

return 0;
}