Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading;
  6. using System.Threading.Tasks;
  7.  
  8.  
  9. namespace First
  10. {
  11. class Program
  12. {
  13.  
  14.  
  15. static void Main()
  16.  
  17. {
  18. Random loadPercent = new Random(); //Variables pre listed
  19. Random clothing = new Random(); //Variables pre listed
  20. string userCute; //Variables pre listed
  21.  
  22. Console.Write("How cute does Bee feel today? Give me a number out of 10: ");
  23. userCute = Console.ReadLine();
  24. int cuteness = Convert.ToInt32(userCute);
  25. Console.Write("Now tell me how cute your clothing is on a scale of 1 to 4: ");
  26. string wardrobeCute;
  27. wardrobeCute = Console.ReadLine();
  28. int clothingInp = Convert.ToInt32(wardrobeCute);
  29. int trueCute = cuteness * clothing.Next(1, 4);
  30. int indCute = trueCute * 3 + clothingInp;
  31. Console.WriteLine("..." + loadPercent.Next(0, 14) + "%");
  32. Thread.Sleep(250);
  33. Console.WriteLine("..." + loadPercent.Next(15, 25) + "%"); //Math and stuff for making the number thicc
  34. Thread.Sleep(250); //Fake Loading
  35. Console.WriteLine("..." + loadPercent.Next(26, 35) + "%");
  36. Thread.Sleep(250);
  37. Console.WriteLine("..." + loadPercent.Next(36, 50) + "%");
  38. Thread.Sleep(250);
  39. Console.WriteLine("..." + loadPercent.Next(51, 67) + "%");
  40. Thread.Sleep(250);
  41. Console.WriteLine("..." + loadPercent.Next(68, 89) + "%");
  42. Thread.Sleep(250);
  43. Console.WriteLine("..." + loadPercent.Next(95, 100) + "%");
  44. Thread.Sleep(250);
  45. Console.WriteLine("Bee's true cuteness out of 10 is: " + indCute, "!");
  46. Console.WriteLine("Does Bee want to recalculate the Cuteness kludge formula?");
  47. Console.WriteLine(" ");
  48.  
  49. }
  50.  
  51.  
  52. public void HandleAnswer()
  53. {
  54. string reCal;
  55. reCal = Console.ReadLine(); //Variables pre listed//Reads input "yes" or "no"
  56. if (reCal == "yes") //gives dead end results
  57. {
  58. Console.WriteLine("Fine.");
  59. Console.WriteLine(" ");
  60. Console.WriteLine(" ");
  61. Console.ReadLine();
  62. Main();
  63. }
  64. if (reCal == "no")
  65. {
  66. Console.WriteLine("Good... So no head? ");
  67. Console.WriteLine(" ");
  68. Console.WriteLine(" ");
  69. Console.ReadLine();
  70. }
  71. else
  72. {
  73. Console.WriteLine("That's not a valid answer!");
  74. Console.WriteLine("Please enter a valid answer! Restart and choose Yes or No!");
  75. Console.WriteLine(" ");
  76. Console.WriteLine(" ");
  77. Console.ReadLine();
  78. HandleAnswer();
  79.  
  80.  
  81. }
  82. }
  83. }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement