11.20 (More translations) The following English sentences are true in Godel\'s W
ID: 3813964 • Letter: 1
Question
11.20 (More translations) The following English sentences are true in Godel's World Translate them, and make sure your translations are also true. Then modify the world in various ways, and check that your translations track the truth value of the English sentence. 1. Nothing to the left of a is larger than everything to the left of b 2. Nothing to the left of a is smaller than anything to the left of b. 3. The same things are left of a as are left of b. 4. Anything to the left of a is smaller than something that is in back of every cube to the right of b. 5. Every cube is smaller than some dodecahedron but no cube is smaller than every do- decahedron. 6. If a is larger than some cube then it is smaller than every tetrahedron. 7. Only dodecahedra are larger than everything else. 8. All objects with nothing in front of them are tetrahedra. 9. Nothing is between two objects which are the same shape. 10. Nothing but a cube is between two other objects. 11. b has something behind it which has at least two objects behind it. 12. More than one thing is smaller than something larger than b Submit your sentence file.Explanation / Answer
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#define NAME_LEN thirty
struct dog;
struct dog *append(struct dog *list);
void search(struct dog *list);
void print(struct dog *list);
void clear(struct dog *list);
int read_line(char str[], int n);
/**********************************************************
* main: Prompts the user to enter Associate in Nursing computer code, *
* then calls a operate to perform the requested *
* action. Repeats till the user enters the *
* command 'q'. Prints a slip message if the user *
* enters Associate in Nursing smuggled code. *
**********************************************************/
int main(void)
information and scans it
printf("Enter number:");
scanf("%d", &num);
//uses getchar to get rid of the character
getchar();
printf("enter dogs name");
fgets(dogName,NAME_LEN+1, stdin);
printf("whats the dogs breed");
fgets(breed1,NAME_LEN+1, stdin);
printf("whats the house owners last name");
fgets(ownerLastName,NAME_LEN+1, stdin);
struct dog *temp = (struct dog*)malloc(sizeof(struct dog));
//if there's nothing within list, puts num within, and copies
//dogname, breed so on, and puts next temporary worker price to be null.
if (list ==NULL)come temp;
}
//if list has numbers within then perform this
else
victimisation temporary worker.
temporary worker = list;
whereas (temp!= NULL){
if (temp ->number == num)
bool =1;
temporary worker = temp->next;
}
if (bool==1)therefore i will get from user with additional area for null temrinating
char dogName [NAME_LEN+1];
printf("Enter dog’s name please");
//stores it in
fgets(dogName, NAME_LEN+1, stdin);
//temp so as to check and search.
struct dog *temp= list;
whereas (temp != NULL)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.