well...use your own code editor to test sample tests than traffic over codewars.com will be much better - i'm copying all test samples into my code editor and test them there
public class SolutionClass
{
public static string EvenOrOdd(int number)
{
// Code goes here ...
}
}
This is one of the example how solution window looks - you have to write proper code to force method to send proper output,something like that:
public class SolutionClass
{
public static string EvenOrOdd(int number)
{
int alan = number;
double gary = 4;
string amy = "dora";
return amy;
}
}
(this code is wrong according to this kata but it shows how to create simple answer)
remember to check if proper library is attached, depend what built in methods you are using, like:
using System;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
etc...
use run sample test to check if your method sends proper output, read information provided in output window to check that
open account on github https://gitter.im/Codewars/codewars.com/kata-solving-help - ask questions here
if you are gonna code in c# install visual studio as your working desk
and have fun as codewars is the best site to expand your programming skills
Hi, new to the site so I'm probably missing something and am just confused. But in almost any of the assignments I just don't understand what to do.
Basically most of the time the assingment can be something like "complete function x" but the code you recieve seems to be lacking in examples or anything to really work with...
Are you supposed to use the sample tests in the solution? Or am I missing something else?
well...use your own code editor to test sample tests than traffic over codewars.com will be much better - i'm copying all test samples into my code editor and test them there
public class SolutionClass
{
public static string EvenOrOdd(int number)
{
// Code goes here ...
}
}
This is one of the example how solution window looks - you have to write proper code to force method to send proper output,something like that:
public class SolutionClass
{
public static string EvenOrOdd(int number)
{
int alan = number;
double gary = 4;
string amy = "dora";
return amy;
}
}
(this code is wrong according to this kata but it shows how to create simple answer)
remember to check if proper library is attached, depend what built in methods you are using, like:
using System;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
etc...
use run sample test to check if your method sends proper output, read information provided in output window to check that
open account on github
https://gitter.im/Codewars/codewars.com/kata-solving-help - ask questions here
if you are gonna code in c# install visual studio as your working desk
and have fun as codewars is the best site to expand your programming skills
Hi, new to the site so I'm probably missing something and am just confused. But in almost any of the assignments I just don't understand what to do.
Basically most of the time the assingment can be something like "complete function x" but the code you recieve seems to be lacking in examples or anything to really work with...
Are you supposed to use the sample tests in the solution? Or am I missing something else?