Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication56
- {
- class Program
- {
- static void Main(string[] args)
- {
- int strengthdif;
- int strengthmod;
- int skilldif;
- int skillmod;
- Console.WriteLine("Please enter character 1's skill value");
- int c1skill = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Please enter character 1's Strengh value");
- int c1strength = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Please enter character 2's skill value");
- int c2skill = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Please enter character 2's Strengh value");
- int c2strength = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Character 1 has skill rating " + c1skill + " and strengh rating " + c1strength);
- Console.WriteLine("Character 2 has skill rating " + c2skill + " and strengh rating " + c2strength);
- strengthdif = (c1strength - c2strength);
- strengthmod = (strengthdif / 5);
- skilldif = (c1skill - c2skill);
- skillmod = (skilldif / 5);
- Console.WriteLine("Player 1 role dice");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement