Computer Science, asked by tulasibhaikonari, 10 months ago

write a c program for Swayamvar.A ceremony where a Bride chooses her Groom from an array of eligible bachelors is called Swayamvar. But this is a Swayamvar with difference. An array of Bride-to-be will choose from an array of Groom-to-be.

Answers

Answered by Anonymous
1

Answer:

A hen night (UK and Ireland) or bachelorette party (United States) is a party held for a woman who is about to get married. While Beth Montemurro concludes that the bachelorette party is modelled after the centuries-old stag night in the USA,[1] which is itself historically a dinner given by the bridegroom to his friends shortly before his wedding, Sheila Young argues that its British counterpart evolved from a number of earlier pre-wedding traditions for women (Ribbon Girl, Pay Off, Bosola, Taking Out, Jumping the Chanty, to name but a few) whose origins are obscure but which have been around for at least a century in factories and offices across the UK.[2] Despite its reputation as "a sodden farewell to maiden days" or "an evening of debauchery", these events can simply be parties given in honor of the bride-to-be, in the style that is common to that social circle.

Answered by nancychaterjeestar29
0

Answer:

#include<stdio.h>

#include<conio.h>  

main()

{

  int age;

  char MaritalStatus,Gender;

  clrscr();

printf("Enter MaritalStatus, Gender, Age : (e.g. m,f,25) : ");

  scanf("%c,%c,%d",&MaritalStatus,&Gender,&age);

  if(MaritalStatus=='m')

  {

   printf("You can not marry!");

  }

  else if(MaritalStatus=='u')

  {

   if(Gender=='m')

   {

     if(age>=21)

         printf("You can marry!");

     else

         printf("You can not marry!");

   }

   else if(Gender=='f')

   {

     if(age>=18)

         printf("You can marry!");

     else

         printf("You can not marry!");

   }

   else

         printf("Invalid input Gender");

  }

  else

printf("Invalid input Marital Status ");

  getch();

}

#SPJ2

Similar questions